Skip to content

Commit 91d5fbc

Browse files
committed
CH-194 remove dependency on current path in deployment
1 parent ac252f0 commit 91d5fbc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tools/deployment-cli-tools/ch_cli_tools/codefresh.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ def create_codefresh_deployment_scripts(root_paths, envs=(), include=(), exclude
127127
build_steps = {}
128128
for root_path in root_paths:
129129
if '.overrides' not in root_path:
130-
base_image_name = clean_image_name(os.path.basename(os.path.abspath(root_path)))
130+
base_image_name = helm_values['name'] if root_path == root_paths[0] else\
131+
clean_image_name(os.path.basename(os.path.abspath(root_path)))
131132
for e in envs:
132133

133134
template_name = f"codefresh-template-{e}.yaml"

0 commit comments

Comments
 (0)