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

withRegistry() throws error when pushing to region eu-north-1 #31

Open
vietnguyen1254 opened this issue Nov 16, 2021 · 0 comments
Open

Comments

@vietnguyen1254
Copy link

vietnguyen1254 commented Nov 16, 2021

Hi,

I want to push the docker image into an ECR repository, and the docker.withRegistry() throws following error,

ERROR: Could not find credentials matching ecr:eu-north-1:dev-aws-keys

Code snippet:

docker.withRegistry('https://1234567890.dkr.ecr.us-east-1.amazonaws.com', 'ecr:eu-north-1:demo-ecr-credentials') { docker.image('demo').push('latest') }

Can you help please help me out?

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

No branches or pull requests

2 participants