From f52869f9633b89305d1af715537b525e92a29b2d Mon Sep 17 00:00:00 2001 From: Linloir <3145078758@qq.com> Date: Wed, 9 Oct 2024 21:24:18 +0800 Subject: [PATCH] feat: use buildx instead of build --- build_all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_all.sh b/build_all.sh index 18865ca..60b077e 100755 --- a/build_all.sh +++ b/build_all.sh @@ -9,7 +9,7 @@ for dir in builds/*/ ; do folder_name=$(basename $dir) # Build the Docker image - docker build --platform linux/amd64,linux/arm64 -t caddy-$folder_name $dir + docker buildx build --platform linux/amd64,linux/arm64 -t caddy-$folder_name $dir # Tag the Docker image for pushing to the repository docker tag caddy-$folder_name linloir/caddy-$folder_name