From 2ae92585a78d594d31cc5bfe674e9211a761d2ee Mon Sep 17 00:00:00 2001 From: Endial Fang Date: Tue, 13 Jan 2026 14:32:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=20Branch=20=E6=89=93?= =?UTF-8?q?=E5=8D=B0=E4=BF=A1=E6=81=AF=E4=B8=BA=E7=9B=B4=E6=8E=A5=E8=BE=93?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build_push.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_push.sh b/build_push.sh index 48da158..df35729 100644 --- a/build_push.sh +++ b/build_push.sh @@ -3,7 +3,7 @@ # 通用镜像编译和推送脚本 # 用于在 CI/CD 环境中构建和推送多架构 Docker 镜像到 SWR 注册表 -set -ex +set -e # 脚本配置说明: # - 需要设置 CI/CD 工具的 Secret 环境变量 SWR_REGISTRY, SWR_USERNAME, SWR_PASSWORD @@ -175,7 +175,7 @@ build_and_push() { fi echo "" - echo "构建 Branch 镜像: $(echo "$build_args" | sed 's/-t /\n/t /g' | tail -n +2 | tr '\n' ' ')" + echo "构建 Branch 镜像: $build_args" docker buildx build --platform linux/amd64,linux/arm64 $APP_VER_ARG $build_args --progress=plain --push --provenance=false --sbom=false . else