mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-22 21:08:13 -05:00
16 lines
416 B
Bash
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" |