From 13f5d83b9b22f2474e2f93fcd52fb924a1a3eb8c Mon Sep 17 00:00:00 2001 From: Zhang Dongliang Date: Tue, 5 Sep 2023 12:53:33 +0800 Subject: [PATCH] hotfix: typo --- scripts/docker_push.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/docker_push.sh b/scripts/docker_push.sh index 6fe38940d1..e18eabbf1c 100755 --- a/scripts/docker_push.sh +++ b/scripts/docker_push.sh @@ -120,7 +120,7 @@ build_image() { if [[ "$tag" == *"amd64" || "$ARCH" == "" || "$ARCH" == "amd64" || "$ARCH" == "x86_64" || "$ARCH" == "x86" ]]; then docker buildx build -t "$tag" -f "$file" "$path" --push --platform linux/amd64 elif [[ "$tag" == *"arm64" || "$ARCH" == "arm64" ]]; then - docker buildx build -t "$tag" -f "$file" "$path" --push --platform linux/amd64 + docker buildx build -t "$tag" -f "$file" "$path" --push --platform linux/arm64 else docker buildx build -t "$tag" -f "$file" "$path" --push fi