nginx-proxy-manager-zh/scripts/buildx-zh

16 lines
416 B
Plaintext
Raw Normal View History

2023-04-04 08:32:44 -04:00
#!/bin/bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
2023-04-04 10:06:39 -04:00
. "$DIR/ci/frontend-build"
2023-04-04 08:32:44 -04:00
2023-04-04 10:33:16 -04:00
cd "${DIR}/../.."
2023-04-04 10:29:38 -04:00
2023-04-04 08:32:44 -04:00
# 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"