From cf273d68132fde779d97f2234aa1ef7cb2665c33 Mon Sep 17 00:00:00 2001 From: sam Date: Tue, 8 Oct 2024 14:00:46 +0800 Subject: [PATCH] dist/buildx echo "plat=$plat" --- distros/buildx.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/distros/buildx.sh b/distros/buildx.sh index 1d79d65b..86cbbb41 100644 --- a/distros/buildx.sh +++ b/distros/buildx.sh @@ -31,13 +31,12 @@ function doBuildx(){ compile="alpine-compile"; flux=rootfs #fluxbox plat="$PLAT0" #,linux/arm - test "fedora" == "$dist" && plat="--platform linux/amd64,linux/arm64" # alma/fedora:无armv7 # plat="--platform linux/amd64" #dbg - test "$plat" != "$PLAT0" && compile="${compile}-dbg" test "$plat" != "$PLAT0" && img="${img}-dbg" test "$plat" != "$PLAT0" && cimg="${cimg}-dbg" - + test "fedora" == "$dist" && plat="--platform linux/amd64,linux/arm64" # alma/fedora:无armv7 + echo "plat=$plat" # 提前pull,转换tag格式 # https://github.com/openwrt/docker/pkgs/container/rootfs/versions?filters%5Bversion_type%5D=tagged