diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 0108f2e..38f1f55 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -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: |- diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ef5ff1b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM scratch + +COPY InnkeeperBot / +RUN chmod a+x /InnkeeperBot