fix(build): always pass build file path when no template/config is provided

This commit is contained in:
reluctantfuturist 2025-04-16 22:11:16 -07:00
parent 712c6758c6
commit 48567ebfa3
2 changed files with 39 additions and 1 deletions

View file

@ -313,7 +313,7 @@ def _run_stack_build_command_from_build_config(
build_config,
build_file_path,
image_name,
template_or_config=template_name or config_path,
template_or_config=template_name or config_path or str(build_file_path),
)
if return_code != 0:
raise RuntimeError(f"Failed to build image {image_name}")