jenkinsci / jenkinsci/docker-workflow-plugin

[JENKINS-55260] withRegistry() does not supports AWS - ECR login in region eu-north-1

Open
#592 1 comment 0 reactions 0 assignees View on GitHub
component:docker-workflow-plugin enhancement imported-jira-issue pipeline priority:blocker resolution:unresolved
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


  • status: Open
  • priority: Blocker
  • component(s): docker-workflow-plugin
  • label(s): pipeline, plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 2
  • imported: 2025-12-07

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-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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.