Remove prepending of v1RegistryURL to the repo (#47)
* Default registry value is not but v1RegistryURL * Handle test (not sure about its relevancy Co-authored-by: Ymage <heltem+git@o2php.com>
This commit is contained in:
parent
0cd3e162fa
commit
ea64d40995
@ -264,7 +264,7 @@ func createDockerCfgFile(username, password, registry string) error {
|
||||
}
|
||||
|
||||
func buildRepo(registry, repo string) string {
|
||||
if registry == "" {
|
||||
if registry == "" || registry == v1RegistryURL {
|
||||
// No custom registry, just return the repo name
|
||||
return repo
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user