jenkinsci / jenkinsci/docker-workflow-plugin
[JENKINS-55260] withRegistry() does not supports AWS - ECR login in region eu-north-1
- Dominant language
- Java
- Stars
- 527
- Forks
- 422
- Avg merge
- 10m
- Merged PRs (30d)
- 1
Description
Amazon web services(AWS) introduced a new EU region Stockholm(eu-north-1) and we you want to push the docker image into an ECR repository which was created in that particular region, 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') }
Region Id: eu-north-1
PlugIn: Docker Pipeline Plugin
Does the docker pipeline plugin have support for the region eu-north-1?
Could someone tell what is wrong here?
---
Originally reported by deepanraj17, imported from: withRegistry() does not supports AWS - ECR login in region eu-north-1
Raw content of original issue
Amazon web services(AWS) introduced a new EU region Stockholm(eu-north-1) and we you want to push the docker image into an ECR repository which was created in that particular region, the docker.withRegistry() throws following error,
ERROR: Could not find credentials matching ecr:eu-north-1:dev-aws-keysCode snippet:
docker.withRegistry('https://1234567890.dkr.ecr.us-east-1.amazonaws.com', 'ecr:eu-north-1:demo-ecr-credentials') { docker.image('demo').push('latest') }Region Id: eu-north-1
PlugIn: Docker Pipeline Plugin
Does the docker pipeline plugin have support for the region eu-north-1?
Could someone tell what is wrong here?
Contributor guide
Assessment
This issue has not been assessed yet.