Skip to content

Commit

Permalink
dist/buildx echo "plat=$plat"
Browse files Browse the repository at this point in the history
  • Loading branch information
huapox committed Oct 8, 2024
1 parent cacece9 commit cf273d6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions distros/buildx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf273d6

Please sign in to comment.