nginx-proxy-manager-zh/scripts/buildx-zh
2023-04-04 22:33:16 +08:00

16 lines
416 B
Bash

#!/bin/bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
. "$DIR/ci/frontend-build"
cd "${DIR}/../.."
# Buildx Builder
docker buildx create --name "Buildx-NPM" || echo
docker buildx use "Buildx-NPM"
docker buildx build -f docker/Dockerfile-zh -t "chishin/nginx-proxy-manager-zh:2.9.22" --platform linux/amd64,linux/arm64,linux/arm/7 . --push
docker buildx rm "Buildx-NPM"
echo "Multiarch build Complete"