fix all hadolint & os issues #61
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docker_publish | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'base/consumer-chain-support' | |
- 'devops/add-docker-sec' | |
tags: | |
- '*' | |
jobs: | |
lint_test: | |
uses: babylonlabs-io/.github/.github/workflows/[email protected] | |
with: | |
run-unit-tests: true | |
run-integration-tests: true | |
run-lint: true | |
run-build: true | |
run-gosec: true | |
gosec-args: "-exclude-generated -exclude-dir=itest -exclude-dir=testutil ./..." | |
docker_pipeline: | |
needs: ["lint_test"] | |
uses: babylonlabs-io/.github/.github/workflows/[email protected] | |
secrets: inherit | |
with: | |
publish: true | |
dockerfile: ./Dockerfile | |
repoName: finality-provider | |
docker_scan: true | |
permissions: | |
# required for all workflows | |
security-events: write | |
# required to fetch internal or private CodeQL packs | |
packages: read |