fix: trivy action version bump #12
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: DevSecOps End To End Pipeline | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| # CI (Continous Integration with Security Scanning) | |
| code-quality: | |
| uses: ./.github/workflows/code-quality.yml | |
| secrets-scan: | |
| uses: ./.github/workflows/secrets-scan.yml | |
| secrets: inherit | |
| dependency-scan: | |
| uses: ./.github/workflows/dependency-scan.yml | |
| docker-scan: | |
| uses: ./.github/workflows/docker-lint.yml | |
| # Build once the security scans are complete | |
| build: | |
| needs: [code-quality, secrets-scan, dependency-scan, docker-scan] | |
| uses: ./.github/workflows/docker-build-push.yml | |
| secrets: inherit | |
| trivy: | |
| needs: [build] | |
| uses: ./.github/workflows/image-scan.yml | |
| secrets: inherit | |