Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker builder: is it possible to stay logged-in once authenticated on a private registry? [ plugin credentials ] #65

Open
hc-github-team-packer opened this issue Aug 4, 2021 · 1 comment

Comments

@hc-github-team-packer
Copy link

This issue was originally opened by @boblechat in hashicorp/packer#11180 and has been migrated to this repository. The original issue description is below.


I have a use case where I pull a base image from a private registry where I need to log into.
Then in my build process, I tag and push the newly created image in the same private registry.

When I read the log produced, I see that packer log out automatically after pulling the image which is a bit annoying because I have to log in again in the docker-tag post-processor.

Is there a way to stay connected once authenticated?

@azr
Copy link
Contributor

azr commented Aug 18, 2021

Currently, each plugin implements/call for its own login/creation independently of other plugins. There is a 'centralized' plugin credential feature we would like to build, but it's not for right now 🙂.

@azr azr changed the title Docker builder: is it possible to stay logged-in once authenticated on a private registry? Docker builder: is it possible to stay logged-in once authenticated on a private registry? [ plugin credentials ] Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants