mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-28 10:11:59 +00:00
fix(build): always pass build file path when no template/config is provided
This commit is contained in:
parent
712c6758c6
commit
48567ebfa3
2 changed files with 39 additions and 1 deletions
|
|
@ -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}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue