From 03d7eaf524c68f9857d404edd0bffc41fd6841b4 Mon Sep 17 00:00:00 2001 From: sam#gemmi-win10 Date: Sun, 3 Nov 2024 13:00:19 +0800 Subject: [PATCH] dist/buildx fix --- distros/buildx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distros/buildx.sh b/distros/buildx.sh index 7843f3f8..e60943dc 100644 --- a/distros/buildx.sh +++ b/distros/buildx.sh @@ -40,7 +40,7 @@ function doBuildx(){ # test "alpine|3.2" == "$dist|$dver" && plat="--platform linux/amd64" #none: arm64,armv7 # test "alpine|3.5" == "$dist|$dver" && plat="--platform linux/amd64" #alpine_3.5: x64,arm64 ##,linux/arm64 (apk.REPO有arm64,hub.img无arm64的) match1=$(echo "${dver}" |grep -E "3.1$|3.2$|3.3$|3.4$|3.5$"); - test ! -z "$match1" && && plat="--platform linux/amd64" + test ! -z "$match1" && plat="--platform linux/amd64" echo "[$dist|$dver] >>> plat=$plat" # 提前pull,转换tag格式