|
|
@ -2,14 +2,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
set -eu -o pipefail
|
|
|
|
set -eu -o pipefail
|
|
|
|
|
|
|
|
|
|
|
|
: ${BUILDX_CMD=docker buildx}
|
|
|
|
: "${BUILDX_CMD=docker buildx}"
|
|
|
|
: ${BUILDKIT_IMAGE=moby/buildkit:buildx-stable-1}
|
|
|
|
: "${BUILDKIT_IMAGE=moby/buildkit:buildx-stable-1}"
|
|
|
|
: ${BUILDKIT_CFG=}
|
|
|
|
: "${BUILDKIT_CFG=}"
|
|
|
|
: ${DRIVER=docker-container}
|
|
|
|
: "${DRIVER=docker-container}"
|
|
|
|
: ${DRIVER_OPT=}
|
|
|
|
: "${DRIVER_OPT=}"
|
|
|
|
: ${ENDPOINT=}
|
|
|
|
: "${ENDPOINT=}"
|
|
|
|
: ${MULTI_NODE=0}
|
|
|
|
: "${MULTI_NODE=0}"
|
|
|
|
: ${PLATFORMS=linux/amd64,linux/arm64}
|
|
|
|
: "${PLATFORMS=linux/amd64,linux/arm64}"
|
|
|
|
|
|
|
|
|
|
|
|
function buildxCmd {
|
|
|
|
function buildxCmd {
|
|
|
|
(set -x ; $BUILDX_CMD "$@")
|
|
|
|
(set -x ; $BUILDX_CMD "$@")
|
|
|
|