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 4c90258 commit cf929bcCopy full SHA for cf929bc
.github/workflows/test-sbom.yml
@@ -38,7 +38,6 @@ jobs:
38
file: docker/service/Dockerfile
39
push: false
40
tags: nhsdev/nia-gp2gp-adaptor:test-build
41
- labels: ${{ steps.meta.outputs.labels }}
42
load: true
43
44
- name: Syft
@@ -49,11 +48,15 @@ jobs:
49
48
output-file: sbom.spdx.json
50
51
- name: GRYPE
+ id: grype-scan
52
uses: anchore/scan-action@v3
53
with:
54
image: nhsdev/nia-gp2gp-adaptor:test-build
55
- output-file: vulnerabilities.json
56
- fail-on-severity: high
+ output-format: json
+ severity-cutoff: medium
57
+
58
+ - name: save report
59
+ run: echo "${{ steps.grype_scan.outputs.json }}" > vulnerabilities.json
60
61
- name: Upload arti
62
uses: actions/upload-artifact@v4
0 commit comments