mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-22 12:58:13 -05:00
修复环境变量检测BUG
This commit is contained in:
parent
6e0e27a93b
commit
fe0352b69c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user