Skip to content

How to pull from a private registry #3837

Answered by gstorme
dustin1530 asked this question in Q&A
Discussion options

You must be logged in to vote

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:

    registry:
      url: $CI_REGISTRY
      credentials:
        username: $CI_REGISTRY_USER
        password: $CI_REGISTRY_PASSWORD

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dustin1530
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants