I have a a custom plugin that generates Dockerfile...
# general
r
I have a a custom plugin that generates Dockerfiles in the
dist
folder which then get published using the docker build push action. I want to move this process into our plugin so we can just publish the image using
pants publish
, but I don't see where I can add credentials to the registries config?
c
you can’t. credentials needs to be handled oob. That is, you configure the docker client and then provide that config so it’s available during the pants invocation. searching this slack space for docker auth should give you plenty of threads wrestling with this. we still have to distill those into some tips and tricks in the docs..
🙏 1