How do you version Docker images: Git SHA or SemVer?

Your grasp of immutable artifacts and traceability versus human-readable releases. Tag every build with Git SHA for immutability, then apply SemVer aliases only on promoted images. Treating floating tags like latest or v1 as safe production targets.
Whether you can design a tagging strategy that balances immutable, traceable artifacts with human-friendly release management. Tag every image with the exact Git commit SHA so each build is uniquely identifiable and completely immutable. Apply Semantic Versioning only to promoted, release-ready images as floating aliases that humans and release notes can reason about. Advocating mutable tags like latest or bare major versions as primary deployment references destroys reproducibility and severely complicates rollbacks when incidents occur.
Read the original → oneuptime.com
- #docker
- #cicd
- #versioning
- #devops
- #containers
Get five bites like this every day.
Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.