Skip to content
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

Issue: Login to public ECR action #38

Closed
bhautikpip opened this issue Dec 15, 2020 · 2 comments · Fixed by #41
Closed

Issue: Login to public ECR action #38

bhautikpip opened this issue Dec 15, 2020 · 2 comments · Fixed by #41

Comments

@bhautikpip
Copy link

bhautikpip commented Dec 15, 2020

I am receiving Error response from daemon: Get https://public.ecr.aws/v2/: denied: Not Authorized while using Login to ECR action in my workflow. I am able to run aws ecr-public get-login-password --region us-east-1 | docker login -u AWS --password-stdin public.ecr.aws in my local machine. Would you be able to confirm if it's a bug? I could not find ecr publish test in this repo so not sure if login to ecr actions has any issues or not.

Workflow error: https://github.com/bhautikpip/aws-xray-daemon/runs/1554928752?check_suite_focus=true
Workflow code: https://github.com/bhautikpip/aws-xray-daemon/blob/daemon-ecr-publish/.github/workflows/continuous-build.yml

@crazy-max
Copy link
Member

crazy-max commented Dec 15, 2020

@bhautikpip #37 has been merged to add support for Public ECR but no release has been created yet for this action because GitHub Runners does not currently support ecr-public command. (AWS CLI 2.1.4 on ubuntu-20.04 and AWS CLI 1.18.185 on ubuntu-latest). See actions/runner-images#2219 (comment)

@crazy-max
Copy link
Member

crazy-max commented Dec 17, 2020

@bhautikpip AWS CLI has been updated on GitHub Runners. Let me know if everything is ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants