File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -186,12 +186,7 @@ jobs:
186186 DIGEST="${{ steps.build_release.outputs.digest }}"
187187 cosign sign --yes "${IMAGE}@${DIGEST}"
188188
189- # Optional: sign the SBOM/provenance attestations too (recommended if you plan to verify them client-side)
190- - name : Sign attestations (keyless)
191- run : |
192- set -euo pipefail
193- IMAGE="${{ env.REGISTRY }}/${{ steps.image.outputs.name }}"
194- DIGEST="${{ steps.build_release.outputs.digest }}"
195- # This signs the attached attestations (provenance/SBOM) for that digest.
196- cosign sign-attestation --yes "${IMAGE}@${DIGEST}"
189+ # Note: cosign no longer provides "sign-attestation" for pre-attached attestations.
190+ # The image is signed above with "cosign sign". Provenance and SBOM are attached by
191+ # docker/build-push-action (provenance: true, sbom: true) and remain available for verification.
197192
You can’t perform that action at this time.
0 commit comments