From d72616fbd6e9ed0e76813f50444fbb0b734a2240 Mon Sep 17 00:00:00 2001 From: Jakub Stejskal Date: Mon, 16 Nov 2026 19:03:34 +0100 Subject: [PATCH] Update docs about attestation verification Signed-off-by: Jakub Stejskal --- README.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 79a7bef..c79441d 100644 --- a/README.md +++ b/README.md @@ -116,15 +116,25 @@ permissions: #### Verification +The attestations are signed by `reusable-attest.yml` in this repository, not by the workflow of the project itself. +Therefore, `--signer-repo strimzi/github-actions` is required, otherwise the verification fails with `verifying with issuer "sigstore.dev"`. +Container images are attested per architecture, so use the architecture-specific tag (e.g. `-amd64`) or its digest instead of the multi-architecture tag. + ```bash # Release archives -gh attestation verify --repo strimzi/ +gh attestation verify --repo strimzi/ --signer-repo strimzi/github-actions + +# Release archives using the attestation bundle attached to the GitHub release +gh attestation verify --bundle release-.intoto.jsonl --repo strimzi/ --signer-repo strimzi/github-actions + +# Container images (provenance) +gh attestation verify oci://quay.io/strimzi/:-amd64 --repo strimzi/ --signer-repo strimzi/github-actions -# Container images -gh attestation verify oci://quay.io/strimzi/@ --repo strimzi/ +# Container images (SBOM) +gh attestation verify oci://quay.io/strimzi/:-amd64 --repo strimzi/ --signer-repo strimzi/github-actions --predicate-type https://spdx.dev/Document/v2.3 # Helm charts -gh attestation verify oci://quay.io/strimzi-helm/@ --repo strimzi/ +gh attestation verify oci://quay.io/strimzi-helm/: --repo strimzi/ --signer-repo strimzi/github-actions ``` ### Security Actions