Skip to content

Commit 786e141

Browse files
committed
debug actions
1 parent 97ef9d2 commit 786e141

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/build-test-sign-image.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)