docker-maven-plugin icon indicating copy to clipboard operation
docker-maven-plugin copied to clipboard

buildx ignores docker registry during pull operations

Open Zialus opened this issue 2 years ago • 1 comments

Description

After merging https://github.com/fabric8io/docker-maven-plugin/pull/1629 pushing operations started respecting the <docker.push.registry> setting but pulling still doesn't respect <docker.registry>

This functionally works as expected when using "regular build" instead of buildx

Info

  • docker-maven-plugin version : 0.41.0
  • Maven version (mvn -v) : 3.9.0

Zialus avatar Feb 12 '23 16:02 Zialus

It seems like there is an assumption that there is only one registry, my pushes are to a real registry but my pulls are from a proxy cache. The config that is generated only includes the push registry credential.

stickycode avatar Feb 28 '23 01:02 stickycode