🏗️ Feature: Forgejo Actions Third Draft

This commit is contained in:
James Musselman 2024-06-27 22:48:11 -05:00
parent b9ff984ce6
commit b40db3c723
Signed by: Musselman
GPG key ID: 1DAEFF35ECB5D6DB

View file

@ -1,6 +1,6 @@
on: [push] on: [push]
jobs: jobs:
Clone: Clone and Build:
runs-on: website runs-on: website
steps: steps:
- name: Clone repository - name: Clone repository
@ -8,9 +8,6 @@ jobs:
with: with:
ref: main ref: main
repository: Musselman/Notatio repository: Musselman/Notatio
Retrive-Tag:
runs-on: website
steps:
- name: Get latest tag - name: Get latest tag
run: | run: |
tagOutput=$(git describe --abbrev=0 --tags || true) tagOutput=$(git describe --abbrev=0 --tags || true)
@ -21,9 +18,6 @@ jobs:
TAG=$tagOutput TAG=$tagOutput
echo "Latest tag found: $TAG" echo "Latest tag found: $TAG"
fi fi
Build:
runs-on: website
steps:
- name: Building.. - name: Building..
run: | run: |
go build go build
@ -48,7 +42,6 @@ jobs:
podman login -u ${{ secrets.USERNAME }} -p ${{ secrets.PASSWORD }} docker.io podman login -u ${{ secrets.USERNAME }} -p ${{ secrets.PASSWORD }} docker.io
podman push notatio ${{ env.registry }}:${{ env.TAG }} podman push notatio ${{ env.registry }}:${{ env.TAG }}
podman logout ${{ env.registry }} podman logout ${{ env.registry }}
Cleanup: Cleanup:
runs-on: website runs-on: website
steps: steps: