image promotion
Moving the exact same, already-tested image through environments, such as staging to production, without rebuilding it.
In more detail
Rebuilding can pick up a changed base image or dependency, producing something that was never tested. Promoting one digest keeps configuration outside the image and the tested bytes identical.
Related terms
- digest — A SHA-256 hash of an image's manifest that identifies its exact content and can never be moved to other bytes.
- release candidate — A specific build that might be released if it passes the remaining checks.
- staging — A pre-production environment set up like production, where changes are tried out before they reach real users.
- production — The live environment where real users use the service, as opposed to development or testing.
- continuous integration — Automatically building and testing every change as soon as it is pushed, so problems are caught early.
- docker tag — Gives an existing image an extra name and tag; no data is copied.
- reproducible build — A build that produces the same result every time from the same inputs.
- artifact — A file produced by a build, such as a compiled program or an image, that is stored and passed on to later steps.
- image — A read-only package containing a program and everything it needs to run, used as the template for containers.
- image scanning — Checking the packages inside an image against lists of known vulnerabilities.
- security gate — An automated check in a pipeline that stops a change going further when it fails, usually by exiting with a non-zero code.
Taught in
- Passing Data Between Jobs: Artifacts — Continuous Integration & Continuous Delivery Pipelines
- Artifact Promotion: Staging to Production — Continuous Integration & Continuous Delivery Pipelines
- Repository Layout for Environments — Continuous Integration & Continuous Delivery Pipelines
- Build, Test And Promote The Same Image In CI — Docker Architecture & Production Containers
- Packaging Into A Container — Modern Java: Virtual Threads & High-Throughput Services
- Tying It All Together — Modern Java: Virtual Threads & High-Throughput Services
- Container Security: Minimal Bases And Non Root — Application Security & Threat Modeling for Engineers
- Image Scanning And Trivy — Application Security & Threat Modeling for Engineers
- How To Stop Drowning In Findings — Application Security & Threat Modeling for Engineers