Getting error while pushing images to public ECR
I am trying to push images to Public ECR using the push commands given in the ECR. I am getting the below issue:
Error saving credentials: error storing credentials - err: exit status 1, out:
error storing credentials - err: exit status 1, out:
The stub received bad data.``. Has someone faced the same issue while pushing images to public ECR?
- Newest
- Most votes
- Most comments
Which commands do you use to push to ECR?
-
Surabhi2 months ago
I am using the below push command for public ECR:
aws ecr-public get-login-password --region <region> | docker login --username AWS --password-stdin <public repo URI> docker build -t <public repo name> . docker tag <public repo> : <tag> <public repo URI> : <tag> docker push <public repo URI> : <tag>
Is it windows machine?