Why do teams build container images in CI?
BeginnerConceptFundamentals and Pipeline Design
Answer
A container image bundles the app with its runtime and dependencies, so the same artifact runs on a laptop, in staging and in production. CI builds the image once on each merge, scans it, tags it with the commit SHA, and pushes it to a registry from where Kubernetes or ECS pulls it.
More on Fundamentals and Pipeline Design
What is Continuous Integration (CI)?BeginnerWhat is the difference between Continuous Delivery and Continuous Deployment?IntermediateWhat is a CI/CD pipeline and what are its stages?BeginnerWhy should a pipeline "fail fast", and how do you order stages to achieve it?IntermediateWhat makes a build reproducible, and why does it matter?AdvancedHow does your branching strategy affect CI? Compare trunk-based development with GitFlow.Intermediate