We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89996a6 commit 6bf85bbCopy full SHA for 6bf85bb
1 file changed
.github/workflows/trivy_images.yaml
@@ -63,6 +63,7 @@ jobs:
63
64
# Ignore images whose basename is "/${{ matrix.artifact }}" to avoid scanning the bazel built images (e.g. /vizier-, /cloud-)
65
deps_output_dir=sarif/${{ matrix.artifact }}_deps
66
+ mkdir -p ${deps_output_dir}
67
cat ./bazel-bin/k8s/${{ matrix.artifact }}/${{ matrix.artifact }}_image_list.txt | grep -v "\/${{ matrix.artifact }}" | xargs -I{} sh -c 'trivy image {} --format=sarif --output=${deps_output_dir}/$(basename {} | cut -d":" -f1).sarif'
68
# yamllint enable rule:line-length
69
- run: |
0 commit comments