File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 38
38
type : boolean
39
39
required : false
40
40
default : true
41
+ sbom :
42
+ description : Generate SBOM? (Slow)
43
+ type : boolean
44
+ required : false
45
+ default : false
41
46
push-dirty :
42
47
description : Push scanned images that have critical vulnerabilities?
43
48
type : boolean
@@ -252,7 +257,7 @@ jobs:
252
257
run : if [ $(wc -l < ${{ matrix.distro.name }}-${{ matrix.distro.release }}-container-images) -le 1 ]; then exit 1; fi
253
258
254
259
- name : Scan built container images
255
- run : src/kayobe-config/tools/scan-images.sh ${{ matrix.distro.name }}-${{ matrix.distro.release }} ${{ steps.write-kolla-tag.outputs.kolla-tag }}
260
+ run : src/kayobe-config/tools/scan-images.sh ${{ matrix.distro.name }}-${{ matrix.distro.release }} ${{ steps.write-kolla-tag.outputs.kolla-tag }} ${{ inputs.sbom && '--sbom'}}
256
261
257
262
- name : Move image scan logs to output artifact
258
263
run : mv image-scan-output image-build-logs/image-scan-output
You can’t perform that action at this time.
0 commit comments