kciter / aws-ecr-action

This Action allows you to create Docker images and push into a ECR repository.
MIT License
146 stars 116 forks source link

no basic auth credentials #1

Closed BarnumD closed 4 years ago

BarnumD commented 4 years ago

I'm attempting to use this action to build and push a docker image to AWS ECR. after this:

== START PUSH TO ECR
The push refers to repository [***.dkr.ecr.us-east-1.amazonaws.com/my-app]
6403477052d0: Preparing
...

I'm getting no basic auth credentials. What could be the cause of that?

BarnumD commented 4 years ago

I had the wrong AWS_ACCOUNT_ID. The account ID should be the number at the beginning of the string [1234567890].dkr.ecr.us-east-1.amazonaws.com/my-app.