mirror of
https://github.com/hanzozt/console.git
synced 2026-10-30 18:15:39 +00:00
Global rebrand of all OpenZiti references to Hanzo ZT: - Go module paths: github.com/openziti/* → github.com/hanzozt/* - Docker images: openziti/* → hanzozt/* - Java packages: org.openziti.* → org.hanzozt.* - Brand: OpenZiti → Hanzo ZT - URLs: openziti.io → hanzozt.dev
24 lines
562 B
Bash
Executable File
24 lines
562 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
set -o pipefail
|
|
set -o xtrace
|
|
|
|
: "${ZAC_IMAGE_REPO:="hanzozt/zac"}"
|
|
ZAC_VERSION=$(jq -r .version package.json)
|
|
|
|
if [ -z "${ZAC_VERSION}" ]; then
|
|
echo "ZAC_VERSION was not set and auto-detection failed."
|
|
exit 1
|
|
fi
|
|
|
|
echo "Building node ZAC version ${ZAC_VERSION} for amd64/arm64"
|
|
|
|
docker buildx create --use --name=zac
|
|
docker buildx build --platform linux/amd64,linux/arm64 . \
|
|
--tag "${ZAC_IMAGE_REPO}:${ZAC_VERSION}" \
|
|
--tag "${ZAC_IMAGE_REPO}:latest" \
|
|
--file docker-images/zac/Dockerfile \
|
|
--push
|