workflow: Move release condition
This commit is contained in:
@@ -28,6 +28,7 @@ jobs:
|
|||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
if: startsWith(gitea.event.ref, 'refs/tags/v')
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
@@ -38,7 +39,6 @@ jobs:
|
|||||||
go-version: 1.21
|
go-version: 1.21
|
||||||
- name: Release artifact
|
- name: Release artifact
|
||||||
id: use-go-action
|
id: use-go-action
|
||||||
if: startsWith(gitea.event.ref, 'refs/tags/v')
|
|
||||||
uses: https://gitea.com/actions/release-action@main
|
uses: https://gitea.com/actions/release-action@main
|
||||||
with:
|
with:
|
||||||
files: |-
|
files: |-
|
||||||
|
|||||||
4
Dockerfile
Normal file
4
Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
FROM scratch
|
||||||
|
|
||||||
|
COPY InnkeeperBot /
|
||||||
|
RUN chmod a+x /InnkeeperBot
|
||||||
Reference in New Issue
Block a user