We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c619f8 commit 8ff60f5Copy full SHA for 8ff60f5
.github/workflows/image-build.yml
@@ -18,6 +18,22 @@ jobs:
18
push: false
19
tags: ghcr.io/${{ github.repository }}:latest-amd64
20
file: Dockerfile
21
+
22
+ - name: Run Trivy vulnerability scanner
23
+ uses: aquasecurity/[email protected]
24
+ with:
25
+ image-ref: ghcr.io/${{ github.repository }}:latest-amd64
26
+ ignore-unfixed: true
27
+ vuln-type: 'os,library'
28
+ severity: 'CRITICAL,HIGH'
29
+ format: 'sarif'
30
+ output: 'trivy-results.sarif'
31
32
+ - name: Upload Trivy scan results to GitHub Security tab
33
+ uses: github/codeql-action/upload-sarif@v3
34
+ if: always()
35
36
+ sarif_file: 'trivy-results.sarif'
37
38
build-openshift:
39
name: Image build/openshift
0 commit comments