workflow: Move release condition
This commit is contained in:
@@ -28,6 +28,7 @@ jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: startsWith(gitea.event.ref, 'refs/tags/v')
|
||||
steps:
|
||||
- uses: actions/download-artifact@v2
|
||||
with:
|
||||
@@ -38,7 +39,6 @@ jobs:
|
||||
go-version: 1.21
|
||||
- name: Release artifact
|
||||
id: use-go-action
|
||||
if: startsWith(gitea.event.ref, 'refs/tags/v')
|
||||
uses: https://gitea.com/actions/release-action@main
|
||||
with:
|
||||
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