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.
2 parents 7963d1d + 176a4fd commit beb1ba4Copy full SHA for beb1ba4
.github/workflows/build.yml
@@ -16,4 +16,14 @@ jobs:
16
fetch-depth: '0'
17
18
- name: Build the Docker image
19
- run: docker build .
+ run: docker build -t docker-netbootxyz:${{ github.sha }} .
20
+
21
+ - name: Run Trivy vulnerability scanner
22
+ uses: aquasecurity/trivy-action@0.29.0
23
+ with:
24
+ image-ref: 'docker-netbootxyz:${{ github.sha }}'
25
+ format: 'table'
26
+ exit-code: '1'
27
+ ignore-unfixed: true
28
+ vuln-type: 'os,library'
29
+ severity: 'CRITICAL,HIGH'
0 commit comments