diff --git a/scripts/buildx-zh b/scripts/buildx-zh index 506ca30..6a14467 100644 --- a/scripts/buildx-zh +++ b/scripts/buildx-zh @@ -9,7 +9,7 @@ cd "${DIR}/../.." docker buildx create --name "Buildx-NPM" || echo docker buildx use "Buildx-NPM" -if [ $BUILD_TAG ];then +if [ "${BUILD_TAG:-0}" != 0 ]; then docker buildx build -f docker/Dockerfile-zh $BUILD_TAG --platform $BUILD_PLATFORM . --push else docker buildx build -f docker/Dockerfile-zh -t "chishin/nginx-proxy-manager-zh:dev" --platform linux/amd64,linux/arm64,linux/arm/7 . --push