Finetuned build.sh.

This commit is contained in:
slawek committed 2026-10-19 22:24:44 +02:00
1 parent e11babd0c8
commit 206b111d59
1 file changed
+5 -1
+5 -1
View File
@@ -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#*/}"