Commit 589d4fe1 authored by Marcus Thelin's avatar Marcus Thelin
Browse files

Update multi builder script

parent a3ab0b24
Pipeline #14873 passed with stage
in 1 minute and 16 seconds
......@@ -4,10 +4,10 @@ set -e
ARCH_PLATFORMS="${PLATFORMS:=linux/amd64,linux/arm64,linux/arm/v7}"
echo "Preparing multi arch build."
printf "Creating buildx context for platforms $ARCH_PLATFORMS"
printf "Creating buildx context for platforms $ARCH_PLATFORMS\n"
docker buildx create --use --platform $ARCH_PLATFORMS
printf "\n\n"
docker buildx $@
docker buildx build --platform=$ARCH_PLATFORMS "$@"
printf "\n\n"
echo "Removing buildx context"
docker buildx rm
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment