fabric8io / docker-maven-plugin

Maven plugin for running and creating Docker images
https://dmp.fabric8.io
Apache License 2.0
1.88k stars 642 forks source link

buildx ignores docker registry during pull operations #1640

Open Zialus opened 1 year ago

Zialus commented 1 year ago

Description

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

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

Info

stickycode commented 1 year ago

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.