46,177 questions
Issue: AWS CodeBuild Fails to Push Docker Image to ECR Due to Immutable Repository
Sam
0
Reputation points
Hi,
Our AWS CodeBuild pipeline fails during the docker push
step when trying to push an image to Amazon Elastic Container Registry (ECR). The error indicates that the ECR repository is immutable, preventing the latest
tag from being updated.
nvironment Details
- AWS Service: CodeBuild, ECR, ECS
- ECR Repository: Immutable Image Tags enabled
- Docker Push Command:
Expected Solution
How should we handle deployments when ECR is immutable but ECS expects latest?
What is the best practice for ECS service updates without using latest?
Can AWS CodeBuild/ECS automatically pick up the newest image without tagging it as latest?
Community Center Not monitored
Sign in to answer