🏗️ Feature: Forgejo Actions Third Draft
This commit is contained in:
parent
b9ff984ce6
commit
b40db3c723
1 changed files with 1 additions and 8 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue