🏗️ 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]
|
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:
|
||||||
|
|
Loading…
Reference in a new issue