From cc0469c72cc0b179fb78c51dd4fcc4c291e3f586 Mon Sep 17 00:00:00 2001 From: Linloir <3145078758@qq.com> Date: Wed, 9 Oct 2024 21:59:44 +0800 Subject: [PATCH] feat: update build script --- build_all.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/build_all.sh b/build_all.sh index 60b077e..e522290 100755 --- a/build_all.sh +++ b/build_all.sh @@ -9,11 +9,5 @@ for dir in builds/*/ ; do folder_name=$(basename $dir) # Build the Docker image - 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 - - # Push the Docker image to the repository - docker push linloir/caddy-$folder_name + docker buildx build --push --platform linux/amd64,linux/arm64 -t linloir/caddy-$folder_name $dir done \ No newline at end of file