From 206b111d59ca50a8ec1b8f3b0550ed87ce079627 Mon Sep 17 00:00:00 2001 From: Slawomir Koszewski Date: Mon, 19 Oct 2026 22:24:44 +0200 Subject: [PATCH] Finetuned build.sh. --- build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 12ae576..8660d81 100755 --- a/build.sh +++ b/build.sh @@ -3,7 +3,7 @@ ARCH=() VERSION_ARG=() VERSION="" -REGISTRY="" +REGISTRY="registry.koszewscy.waw.pl" AZURITE_IMAGE="${AZURITE_IMAGE:-azurite:latest}" while [[ $# -gt 0 ]]; do @@ -34,6 +34,10 @@ while [[ $# -gt 0 ]]; do esac done +if [[ ${#ARCH[@]} -eq 0 ]]; then + ARCH=("--arch" "arm64" "--arch" "amd64") +fi + if [[ ! -z "$REGISTRY" ]]; then # Prepend the registry to the image name for tagging. AZURITE_IMAGE="$REGISTRY/${AZURITE_IMAGE#*/}"