With the previous behavior of docker-workflow-plugin (1.15) I was able to nest my `docker.withRegistry()` calls so I can access numerous registries at the same time.
From the output it looks like each credential is stored in it's own file per registry. My assumption is that with nested logins, it should be in the same credential store/file?
Is there any workaround for this?
Update – after more investigation – think this is more related to the docker-commons plugin - think it's related to this MR: https://github.com/jenkinsci/docker-workflow-plugin/pull/140/files
This MR introduced the env variables - specifically `DOCKER_CONFIG`
Update – further investigation – there has been an update to docker-commons-plugin that fixed this issue with--https://issues.jenkins-ci.org/browse/JENKINS-52737---
Made a MR for to use the latest docker-commons: [-https://github.com/jenkinsci/docker-workflow-plugin/pull/193-]
- Update – Fixes need on the docker-commons logic. MR here: https://github.com/jenkinsci/docker-commons-plugin/pull/82