Merge pull request 'feat: add Docker build and push to CI workflow' (#314) from feat/ci-docker-build into main
Reviewed-on: #314
This commit was merged in pull request #314.
This commit is contained in:
@@ -29,3 +29,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
|
||||
|
||||
Reference in New Issue
Block a user