From 681e8ffbf7edfaedbb41402480ce0bae36d970bc Mon Sep 17 00:00:00 2001 From: Aditya <60684641+0x0elliot@users.noreply.github.com> Date: Mon, 4 Nov 2024 13:43:26 +0530 Subject: [PATCH] fix: image prefix related bug --- functions/onprem/worker/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/onprem/worker/worker.go b/functions/onprem/worker/worker.go index e4821486..a05005da 100644 --- a/functions/onprem/worker/worker.go +++ b/functions/onprem/worker/worker.go @@ -472,7 +472,7 @@ func deployk8sApp(image string, identifier string, env []string) error { log.Printf("[DEBUG] Using REGISTRY_URL %s", localRegistry) image = fmt.Sprintf("%s/%s", localRegistry, image) } else { - if strings.Count(image, "/") <= 2 { + if strings.Count(image, "/") <= 2 && !strings.HasPrefix(image, "frikky/shuffle:") { image = fmt.Sprintf("frikky/shuffle:%s", image) } }