File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -114,10 +114,12 @@ jobs:
114114 syft docker.io/fontebasso/php-nginx@${{ needs.merge-multiarch.outputs.digest }} \
115115 -o spdx-json > sbom.spdx.json
116116
117- - name : Attach SBOM to image
117+ - name : Attest SBOM
118118 run : |
119- cosign attach sbom \
120- --sbom sbom.spdx.json \
119+ cosign attest \
120+ --yes \
121+ --type spdx \
122+ --predicate sbom.spdx.json \
121123 docker.io/fontebasso/php-nginx@${{ needs.merge-multiarch.outputs.digest }}
122124
123125 - name : Upload SBOM artifact
@@ -135,7 +137,7 @@ jobs:
135137 docker.io/fontebasso/php-nginx@${{ needs.merge-multiarch.outputs.digest }}
136138
137139 generate-provenance :
138- name : Generate SLSA Provenance v1.1
140+ name : Generate SLSA Provenance
139141 needs : merge-multiarch
140142 if : startsWith(github.ref, 'refs/tags/')
141143 uses :
slsa-framework/slsa-github-generator/.github/workflows/[email protected]
You can’t perform that action at this time.
0 commit comments