Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Allow private registries #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

timotto
Copy link

@timotto timotto commented Dec 16, 2021

This commit changes the execution of the docker login command to supply the registry when the repository is hosted in a private registry.

A private registry is assumed when

  • there is at least one slash in the repository name
  • and the word before the first slash either ends in a port like localhost:5000 or looks like a DNS name like registry.cloud.example.com.

Without this PR the resource only works with Docker Hub.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant