File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 11name : Release adaptor container image
22
33on :
4- push :
5- branches :
6- - check-sbom
4+ workflow_call :
5+ inputs :
6+ dockerhub_name :
7+ required : true
8+ type : string
9+ folder :
10+ required : true
11+ type : string
712
813jobs :
914 reusable_workflow_job :
@@ -36,21 +41,21 @@ jobs:
3641 with :
3742 context : .
3843 file : docker/${{ inputs.folder }}/Dockerfile
39- push : true
44+ # push: true
4045 tags : ${{ steps.meta.outputs.tags }}
4146 labels : ${{ steps.meta.outputs.labels }}
4247 platforms : linux/arm64/v8,linux/amd64
4348 load : true
4449
45- - name : syft
50+ - name : Generate SBOM with Syft
4651 uses : anchore/sbom-action@v0
4752 with :
4853 image : ${{ fromJSON(steps.meta.outputs.tags)[0] }}
4954 format : spdx-json
5055 output-file : sbom.spdx.json
5156
52- - name : grype
53- uses : anchore/scan-action@v6
57+ - name : Scan for vulnerabilities with Grype
58+ uses : anchore/scan-action@v3
5459 with :
5560 image : ${{ fromJSON(steps.meta.outputs.tags)[0] }}
5661 output-file : vulnerabilities.json
You can’t perform that action at this time.
0 commit comments