Interview Prep/Git & GitHub/Security: secrets, signing, access and supply chain

How do you verify the integrity of what you deploy back to the source commit?

IntermediateProductionSecurity: secrets, signing, access and supply chain
Answer

Attest at build time with provenance linking the digest to the repo, workflow and SHA, then verify before deploy with an admission policy (Kyverno or Sigstore policy-controller) or gh attestation verify.

gh attestation verify oci://ghcr.io/org/app@sha256:... --owner org
All Git & GitHub questions Roadmap: Git & GitHub

More on Security: secrets, signing, access and supply chain