Skip to content

Commit 98d6503

Browse files
committed
build: break YAML to see if grype throws an error.
A debug run of anchore is showing the config as: configpath: /home/runner/work/roundup/roundup/.grype.yaml when running: Executing: grype -vv -o sarif --fail-on medium localbuild/testimage:latest Try breaking the yaml to see if it is actually being loaded. [skip travis]
1 parent 697c4d1 commit 98d6503

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/anchore.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ jobs:
4242
run: docker pull python:3-alpine; docker build . --file scripts/Docker/Dockerfile --tag localbuild/testimage:latest
4343
- name: List the Docker image
4444
run: docker image ls
45-
- name: copy grype.yaml into $home
46-
run: cp .grype.yaml $HOME/
4745
- name: Run the Anchore scan action itself with GitHub Advanced Security code scanning integration enabled
4846
uses: anchore/scan-action@24fd7c9060f3c96848dd1929fac8d796fb5ae4b4 # v3.3.6
4947
id: scan

.grype.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ignore:
2-
- vulnerability: CVE-2018-20225
2+
- vlnerability: CVE-2018-20225
33
fix-state: not-fixed
44
- vulnerability: CVE-2018-20225-pip
5-
fix-state: not-fixed
5+
fix-state: not-fixed

0 commit comments

Comments
 (0)