Add automatic CI to build artifacts #1

Merged
Matte23 merged 8 commits from feature/workflows into master 2024-07-09 20:43:42 +00:00
2 changed files with 5 additions and 1 deletions
Showing only changes of commit 36a543f3b9 - Show all commits

View File

@@ -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
View File

@@ -0,0 +1,4 @@
FROM scratch
COPY InnkeeperBot /
RUN chmod a+x /InnkeeperBot