From 614b065b7ab5d1d64a527053f302df4321c5e649 Mon Sep 17 00:00:00 2001 From: Oliver Pajonk Date: Sat, 11 Oct 2025 09:00:28 +0000 Subject: [PATCH] Use correct platform name for ARM-based chips At least on MacOS, the current name does not work. platform/arm64 is correct. --- scripts/build.sh | 2 +- scripts/publish.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index e4a23ff..ac68511 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash set -euxo pipefail -devcontainer build --platform linux/aarch64 --workspace-folder src/s-core-devcontainer --image-name ghcr.io/eclipse-score/devcontainer --cache-from ghcr.io/eclipse-score/devcontainer +devcontainer build --platform linux/arm64 --workspace-folder src/s-core-devcontainer --image-name ghcr.io/eclipse-score/devcontainer --cache-from ghcr.io/eclipse-score/devcontainer devcontainer build --platform linux/amd64 --workspace-folder src/s-core-devcontainer --image-name ghcr.io/eclipse-score/devcontainer --cache-from ghcr.io/eclipse-score/devcontainer diff --git a/scripts/publish.sh b/scripts/publish.sh index 6bca3f4..1dbca82 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -15,5 +15,5 @@ for IMAGE in "${IMAGES[@]}"; do DEVCONTAINER_CALL+=" $IMAGE" done -eval "$DEVCONTAINER_CALL --platform linux/aarch64" +eval "$DEVCONTAINER_CALL --platform linux/arm64" eval "$DEVCONTAINER_CALL --platform linux/amd64"