-
Bug
-
Resolution: Unresolved
-
Major
-
Jenkins 2.124
Docker Commons 1.13
Docker Workflow 1.17
We have an image that is stored in AWS ECR. Previously this step has been working but broke when we updated the Docker Workflow plugin from 1.15.1 to 1.17. We now get a `docker login failed` message.
This is for a declarative pipeline and our configuration is as follows.
stage('Docker step') { agent { docker { image "xxxxxxxx" registryUrl "https://xxxxxxxxx.dkr.ecr.us-east-1.amazonaws.com" registryCredentialsId "credentials-id" } } }
When we roll the plugin back to 1.15.1 the issue no longer occurs.
This may be related to JENKINS-38018
- is related to
-
JENKINS-51615 Docker Compose with Amazon ECR Not Working on Remote Server
-
- Open
-
- relates to
-
JENKINS-38018 withDockerRegistry fails to authenticate with DockerHub
-
- Resolved
-
This breaks a key step in my build pipeline. Looks like the culprit is `src/main/java/org/jenkinsci/plugins/docker/commons/impl/RegistryKeyMaterialFactory.java`
Looks like this was intentionally passed over, possibly due to some security issue. jglick - any reason why this hasn't been updated yet?