fix: image prefix related bug
This commit is contained in:
@@ -472,7 +472,7 @@ func deployk8sApp(image string, identifier string, env []string) error {
|
|||||||
log.Printf("[DEBUG] Using REGISTRY_URL %s", localRegistry)
|
log.Printf("[DEBUG] Using REGISTRY_URL %s", localRegistry)
|
||||||
image = fmt.Sprintf("%s/%s", localRegistry, image)
|
image = fmt.Sprintf("%s/%s", localRegistry, image)
|
||||||
} else {
|
} else {
|
||||||
if strings.Count(image, "/") <= 2 {
|
if strings.Count(image, "/") <= 2 && !strings.HasPrefix(image, "frikky/shuffle:") {
|
||||||
image = fmt.Sprintf("frikky/shuffle:%s", image)
|
image = fmt.Sprintf("frikky/shuffle:%s", image)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user