Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55260

withRegistry() does not supports AWS - ECR login in region eu-north-1

XMLWordPrintable

      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?

            Unassigned Unassigned
            deepanraj17 Deepanraj S
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: