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#*/}"