Unified aarch64 / amd64 image

This commit is contained in:
Ryan Hughes
2025-10-29 22:55:17 -04:00
parent f6cc3f3ea3
commit 78c1ef2658
5 changed files with 183 additions and 60 deletions
+1 -6
View File
@@ -110,12 +110,7 @@ fi
# Run the builder with assembled args
IMAGE_TAG="omarchy-pkg-builder:latest-$ARCH"
PLATFORM_ARG=""
if [[ "$ARCH" == "aarch64" ]]; then
PLATFORM_ARG="--platform linux/arm64"
elif [[ "$ARCH" == "x86_64" ]]; then
PLATFORM_ARG="--platform linux/amd64"
fi
PLATFORM_ARG=$(get_platform_arg "$ARCH")
docker run $PLATFORM_ARG "${DOCKER_ARGS[@]}" "$IMAGE_TAG" /build/build.sh