Skip to main content

How is versioning managed during CI/CD?

Senior Microservices
Quick Answer CI/CD versioning: tag Docker images with Git commit SHA (not just "latest"). Store the deployed version in a manifest. When promoting across environments (dev -> staging -> prod), promote the same image by SHA. API versioning in CI/CD: maintain old API version branches, run both in parallel, use feature flags to control rollout of breaking changes.

Answer

Container images and APIs are versioned using semantic versioning.
Allows rollback and compatibility management.
Ensures controlled deployment lifecycle.
S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice