Complete a 3 Question Survey and Earn a re:Post Badge
Help improve AWS Support Official channel in re:Post and share your experience - complete a quick three-question survey to earn a re:Post badge!
Can't push my docker image to ecr
0
I am working with the AWS pipeline and in the build stage I need the docker image to be pushed to ECR .
The buildspec file for the same looks like this
When the push command is executed it keeps retrying and retrying and then the command fails.All the previouse commands are run successfully except for the push command.
Yeah I have this permissions attached to my codebuild role. I have added following additional policies just to make sure there is no permission issue
AmazonEC2ContainerRegistryFullAccess AmazonS3FullAccess AmazonEC2ContainerRegistryPowerUser EC2InstanceProfileForImageBuilderECRContainerBuilds AWSAppRunnerServicePolicyForECRAccess