Interview Prep/CI/CD/Rapid-Fire Commands

Rapid-fire: cosign commands for keyless signing, verification and attestations.

AdvancedProductionRapid-Fire Commands
Answer
cosign sign --yes reg.example.com/api@sha256:<digest>
cosign verify reg.example.com/api@sha256:<digest> \
  --certificate-identity-regexp 'https://github.com/acme/.*' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com
cosign attest --yes --predicate sbom.cdx.json --type cyclonedx reg.example.com/api@sha256:<digest>
cosign tree reg.example.com/api@sha256:<digest>
All CI/CD questions

More on Rapid-Fire Commands