mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-06 10:42:39 +00:00
fix: correctly set CLI_ARGS using BUILD_PLATFORM env with llama stack build
Signed-off-by: Michael Clifford <mcliffor@redhat.com>
This commit is contained in:
parent
7c0448456e
commit
407cfe4b5a
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ image_tag="$image_name:$version_tag"
|
|||
# Detect platform architecture
|
||||
ARCH=$(uname -m)
|
||||
if [ -n "$BUILD_PLATFORM" ]; then
|
||||
CLI_ARGS+=("--platform $BUILD_PLATFORM")
|
||||
CLI_ARGS+=("--platform" "$BUILD_PLATFORM")
|
||||
elif [ "$ARCH" = "arm64" ] || [ "$ARCH" = "aarch64" ]; then
|
||||
CLI_ARGS+=("--platform" "linux/arm64")
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue