Interview Prep/Docker/Build Performance & CI

How do you tag images in CI so builds are traceable?

BeginnerProductionBuild Performance & CI
Answer

Tag every build with the immutable git SHA (app:3f9c2ab), add semantic version tags on release (1.4.2, 1.4), and avoid reusing latest for deploys. Add OCI labels org.opencontainers.image.revision and .source. Deploy by digest recorded in the GitOps repo.

All Docker questions Roadmap: Docker & containers

More on Build Performance & CI