File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 5454 sbom : true
5555 provenance : true
5656 push : true
57+
58+ - name : Generate SBOM for php
59+ uses : anchore/sbom-action@v0
60+ with :
61+ image : ${{ fromJSON(steps.meta-php.outputs.json).tags[0] }}
62+ output-file : php-sbom.spdx.json
63+ dependency-snapshot : true
64+ - name : Scan php
65+ uses : anchore/scan-action@v6
66+ id : php-scan
67+ with :
68+ sbom : php-sbom.spdx.json
69+ fail-build : false
70+ - name : Upload report to GitHub
71+ uses : github/codeql-action/upload-sarif@v3
72+ with :
73+ sarif_file : ${{ steps.php-scan.outputs.sarif }}
74+
75+ - name : Generate SBOM for nginx
76+ uses : anchore/sbom-action@v0
77+ with :
78+ image : ${{ fromJSON(steps.meta-nginx.outputs.json).tags[0] }}
79+ output-file : nginx-sbom.spdx.json
80+ dependency-snapshot : true
81+ - name : Scan nginx
82+ uses : anchore/scan-action@v6
83+ id : nginx-scan
84+ with :
85+ sbom : nginx-sbom.spdx.json
86+ fail-build : false
87+ - name : Upload report to GitHub
88+ uses : github/codeql-action/upload-sarif@v3
89+ with :
90+ sarif_file : ${{ steps.nginx-scan.outputs.sarif }}
You can’t perform that action at this time.
0 commit comments