From af3703e2a48cdc485864ccd204aa3a293e016695 Mon Sep 17 00:00:00 2001 From: Filippo Ledda Date: Tue, 8 Oct 2024 10:16:15 +0200 Subject: [PATCH] Fix skaffold for local dev --- tools/deployment-cli-tools/ch_cli_tools/skaffold.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/deployment-cli-tools/ch_cli_tools/skaffold.py b/tools/deployment-cli-tools/ch_cli_tools/skaffold.py index 22320082..9609ad86 100644 --- a/tools/deployment-cli-tools/ch_cli_tools/skaffold.py +++ b/tools/deployment-cli-tools/ch_cli_tools/skaffold.py @@ -220,7 +220,7 @@ def identify_unicorn_based_main(candidates): 'images': [artifact['image'] for artifact in artifacts.values() if artifact['image']] } } - if backend == COMPOSE_ENGINE or not helm_values.tag: + if backend == COMPOSE_ENGINE or helm_values.tag and not helm_values.local: skaffold_conf['build']['tagPolicy'] = { 'envTemplate': { 'template': '"{{.TAG}}"'