feat: add Docker-Release job to workflow for building and pushing Doc… #5
Workflow file for this run
This file contains hidden or 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: Scan Release Branch with Trivy | |
| on: | |
| push: | |
| branches-ignore: | |
| - main | |
| jobs: | |
| docker-build-and-scan: | |
| uses: ./.github/workflows/docker-build-and-scan.yaml | |
| secrets: inherit | |
| with: | |
| DOCKER_PATH_CONTEXT: . | |
| DOCKER_BUILD_DOCKERFILE: Dockerfile | |
| DOCKER_LOAD_BOOL: true | |
| DOCKER_TAGS: sample-python-app:${{ github.sha }} | |
| DOCKER_PUSH_BOOL: false |