Image identity model
source commit -> build -> image:git-<sha> -> digest sha256:... -> staging -> production- The same digest should move through environments.
- Human-friendly tags can point to that immutable content.
Treat container images as immutable delivery artifacts, use meaningful tags/digests and understand the role of provenance.
Build the container image once from a validated source revision, scan/test it as appropriate and promote the same image identity. Rebuilding the image for each environment defeats build-once promotion.
A mutable tag such as latest can move. A content digest identifies specific image content. Release processes should preserve an immutable reference even if human-friendly tags are also used.
Artifact attestations can record verifiable information about where and how an artifact was built. They strengthen supply-chain evidence but do not prove the software is bug-free or secure by themselves.
source commit -> build -> image:git-<sha> -> digest sha256:... -> staging -> productionGoal: Create a fake image manifest, hash it and promote the digest rather than a mutable label.
mkdir -p ~/gnu-cicd-labs/module09 && cd ~/gnu-cicd-labs/module09
printf 'base=runtime-v1\napp=build-42\n' > image.manifestDIGEST=$(sha256sum image.manifest | awk '{print $1}')
printf '%s\n' "$DIGEST" > image.digestcp image.digest staging.digest
cp staging.digest production.digestcmp image.digest staging.digest && cmp staging.digest production.digestDigest-aware delivery makes rollback and forensic analysis deterministic.
Open each answer only after you have tried to answer the question yourself.
The content digest identifies specific image content; a tag can be moved to different content.
No. Prefer promoting the same validated image identity.
Evidence about the artifact's build origin/process; it does not guarantee defect-free software.
Progress is saved in this browser immediately. When you sign in to My Learning, it can also sync across devices.
Attempt the core lab and knowledge checks before marking the module complete.