We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5883bd commit 3527e7eCopy full SHA for 3527e7e
.github/workflows/image-build.yml
@@ -53,6 +53,22 @@ jobs:
53
tags: ghcr.io/${{ github.repository }}:latest-amd64-thick
54
file: images/Dockerfile.thick
55
56
+ - name: Run Trivy vulnerability scanner
57
+ uses: aquasecurity/[email protected]
58
+ with:
59
+ image-ref: ghcr.io/${{ github.repository }}:latest-amd64-thick
60
+ ignore-unfixed: true
61
+ vuln-type: 'os,library'
62
+ severity: 'CRITICAL,HIGH'
63
+ format: 'sarif'
64
+ output: 'trivy-results.sarif'
65
+
66
+ - name: Upload Trivy scan results to GitHub Security tab
67
+ uses: github/codeql-action/upload-sarif@v3
68
+ if: always()
69
70
+ sarif_file: 'trivy-results.sarif'
71
72
build-origin:
73
name: Image build/origin
74
runs-on: ubuntu-latest
0 commit comments