How do you verify that the image you tested is the image running in prod?
AdvancedProductionRegistries, Tagging & Supply Chain
Answer
Compare digests end-to-end: CI outputs the digest, GitOps manifest pins it, cluster reports imageID in status.containerStatuses. On Docker hosts docker inspect -f '{{.Image}}' c gives the image ID and RepoDigests the manifest digest. An admission controller can reject anything unsigned or not matching a promoted digest.
More on Registries, Tagging & Supply Chain
What is a good image tagging strategy for production?BeginnerWhy is deploying by digest better than by tag?IntermediateHow do you enable immutable tags and lifecycle rules in ECR?IntermediateHow does ECR handle scanning and replication?IntermediateHow do you give an EKS node or CI job access to ECR with least privilege?IntermediateDocker Hub vs ECR vs GHCR vs Harbor: how do you choose?Intermediate