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

Making prepend of registry url to repo name optional #48

Merged
merged 2 commits into from Apr 5, 2022
Merged

Conversation

shubham149
Copy link
Contributor

@shubham149 shubham149 commented Apr 5, 2022

PR #40 added prepending of registry url to repo name. But there are some missing cases present:

  1. If registry URL is public dockerhub, the full repo name: index.docker.io//: but this change generates repo name as https://index.docker.io/v1//:latest. Also, it needs to handle repo's without dockerhubUsr e.g. alpine image.
  2. https:// is usually present in the registry url but should not be mentioned in the repo name.
  3. Some registry url's include version number which should not be present in repo name.

Hence, this will make prepending of registry url to repo name optional by introducing a field expand_repo which is by default false.

@shubham149 shubham149 merged commit c39a115 into main Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant