You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DockerBUILDs/scripts/utils/build-multiarch.sh

11 lines
232 B
Bash

#!/bin/bash
TAG=${TAG:-"${TAG_PREFIX}${NAME}"}
PLATFORM=${PLATFORM:-"linux/amd64,linux/arm64/v8,linux/arm/v7"}
EXTRA_ARGS=${EXTRA_ARGS:-"$@"}
docker buildx build \
--platform $PLATFORM \
--tag "${TAG}:${VERSION}" \
$EXTRA_ARGS \
.