Fix BUILDX_PLATFORMS

This commit is contained in:
Christian Mäder 2021-03-14 12:47:05 +01:00 committed by cimnine
parent 5356d8e948
commit 0c9195ebc7
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ for DOCKER_TARGET in "${DOCKER_TARGETS[@]}"; do
fi
# --platform
DOCKER_BUILD_ARGS+=(--platform "${PLATFORMS-linux/amd64}")
DOCKER_BUILD_ARGS+=(--platform "${BUILDX_PLATFORMS-linux/amd64}")
# --cache-from / --cache-to
DOCKER_BUILD_ARGS+=("--cache-from=type=registry,ref=${TARGET_DOCKER_TAG}-cache,mode=max")