Compare commits

...

1 Commits

Author SHA1 Message Date
ymage ea64d40995 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>
2022-04-04 10:58:10 +05:30
+1 -1
View File
@@ -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
}