How do you detect that a base image tag you depend on was changed upstream?
AdvancedProductionRegistries, Tagging & Supply Chain
Answer
Record the digest at build time and compare nightly: crane digest node:22-bookworm-slim vs the pinned value, or let Renovate with pinDigests open a PR when it changes. Upstream rebuilds tags regularly for security patches, so pinned digests need automated refresh, otherwise you freeze vulnerabilities in.
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