🏗️ Feature: Forgejo Actions Third Draft

This commit is contained in:
James Musselman 2024-06-27 22:48:11 -05:00
parent b9ff984ce6
commit b40db3c723
No known key found for this signature in database
GPG key ID: 1DAEFF35ECB5D6DB

View file

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