Skip to content

Commit

Permalink
dist/buildx fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sam#gemmi-win10 committed Nov 3, 2024
1 parent 2e2331e commit 03d7eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distros/buildx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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格式
Expand Down

0 comments on commit 03d7eaf

Please sign in to comment.