Merge pull request #11643 from yuumasato/pr_content_images_are_not_la… #2229
k8s-content.yaml
on: push
container-main
/
container
3m 57s
Annotations
1 warning and 4 notices
container-main / sbom
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: anchore/sbom-action/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Verify signature
COSIGN_EXPERIMENTAL=1 cosign verify ghcr.io/complianceascode/k8scontent@sha256:6d9b5ac1e4ddce2684fee684772f8e26abfe76bc0a9537c4c4b0c0245a12c7e4 | jq '.[0]'
|
Inspect signature bundle
COSIGN_EXPERIMENTAL=1 cosign verify ghcr.io/complianceascode/k8scontent@sha256:6d9b5ac1e4ddce2684fee684772f8e26abfe76bc0a9537c4c4b0c0245a12c7e4 | jq '.[0].optional.Bundle.Payload.body |= @base64d | .[0].optional.Bundle.Payload.body | fromjson'
|
Inspect certificate
COSIGN_EXPERIMENTAL=1 cosign verify ghcr.io/complianceascode/k8scontent@sha256:6d9b5ac1e4ddce2684fee684772f8e26abfe76bc0a9537c4c4b0c0245a12c7e4 | jq -r '.[0].optional.Bundle.Payload.body |= @base64d | .[0].optional.Bundle.Payload.body | fromjson | .spec.signature.publicKey.content |= @base64d | .spec.signature.publicKey.content' | openssl x509 -text
|
Verify SBOM attestation
COSIGN_EXPERIMENTAL=1 cosign verify-attestation ghcr.io/complianceascode/k8scontent@sha256:6d9b5ac1e4ddce2684fee684772f8e26abfe76bc0a9537c4c4b0c0245a12c7e4 | jq '.payload |= @base64d | .payload | fromjson | select(.predicateType == "https://spdx.dev/Document") | .predicate.Data | fromjson'
|