diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 10c3140..dbec89c 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -28,3 +28,16 @@ jobs: run: | go install golang.org/x/vuln/cmd/govulncheck@latest govulncheck ./... + + build: + runs-on: ubuntu-latest + needs: [test, vulnerabilities] + if: github.event_name == 'push' + env: + BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }} + GITEA_REPOSITORY: ${{ gitea.repository }} + steps: + - uses: actions/checkout@v6 + - uses: buildtool/setup-buildtools-action@v1 + - name: Build and push + run: unset GITEA_TOKEN && build && push