mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-02 00:34:44 +00:00
fix behavior of --image-type in llama stack build
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
a1fbfb51e2
commit
75f29fbde0
1 changed files with 2 additions and 0 deletions
|
@ -209,6 +209,8 @@ def run_stack_build_command(args: argparse.Namespace) -> None:
|
||||||
color="red",
|
color="red",
|
||||||
)
|
)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
if args.image_type:
|
||||||
|
build_config.image_type = args.image_type
|
||||||
|
|
||||||
if args.print_deps_only:
|
if args.print_deps_only:
|
||||||
print(f"# Dependencies for {args.template or args.config or image_name}")
|
print(f"# Dependencies for {args.template or args.config or image_name}")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue