-
Notifications
You must be signed in to change notification settings - Fork 27
Pushing to ECR times out when --repository flag is used #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Just ran into the exact issue today. Any ideas on how to solve this? |
So far I did not find a fix. For now I am using the default name and just putting the different containers in different image tags. |
Found the issue @absynthe, at least in my case. Check the IAM permissions for the CodeBuild execution. In my case, repo names must start with
|
Ah, so it's a feature not a bug. Then it should either be documented or the permissions have to be opened up :D |
Thank you!. I was struggling with issue. Just updated the repo name in the policy and issue resolved. |
Building a container with the default naming works, but using a custom name leads to time out when the repository flag is used. The repository will be created, but a new version will not be pushed.
Steps to reproduce:
sm-docker build . --role YOUR_ROLE --repository CUSTOM_NAME:VERSION
You will get a log similar to the below:
The text was updated successfully, but these errors were encountered: