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