How to pull from a private registry #3837
Answered
by
gstorme
dustin1530
asked this question in
Q&A
-
I haven't been able to find this in the documentation. How do I configure molecule to pull an image from a private registry and provide basic auth. I did come across this issue, but I cannot figure out the proper syntax needed in the molecule.yml file. What's the best method of pulling an image from a private repository to use with Molecule? |
Beta Was this translation helpful? Give feedback.
Answered by
gstorme
May 2, 2023
Replies: 1 comment
-
I've set it to this in the molecule.yml for usage on our self-hosted Gitlab, which works fine:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dustin1530
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://github.com/ansible-community/molecule-plugins/blob/main/src/molecule_plugins/docker/driver.py#L61C22-L65
I've set it to this in the molecule.yml for usage on our self-hosted Gitlab, which works fine: