fix: typo in env name!

This commit is contained in:
Aditya
2024-11-11 02:06:44 +07:00
parent e3b8719762
commit 6506400f32
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -433,12 +433,12 @@ func deployk8sApp(image string, identifier string, env []string) error {
}
}
autoDeployOverride := os.Getenv("SHUFFLE_USE_GCHR_OVERRIDE_FOR_AUTODEPLOY") == "true"
autoDeployOverride := os.Getenv("SHUFFLE_USE_GHCR_OVERRIDE_FOR_AUTODEPLOY") == "true"
localRegistry := ""
// Checking if app is generated or not
if !baseDeployMode && !autoDeployOverride {
if !(baseDeployMode && autoDeployOverride) {
localRegistry = os.Getenv("REGISTRY_URL")
} else {
log.Printf("[DEBUG] Detected baseDeploy image (%s) and ghcr override. Resorting to using ghcr instead of registry", image)