Fix BUILDX_PLATFORMS
This commit is contained in:
parent
5356d8e948
commit
0c9195ebc7
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
@ -389,7 +389,7 @@ for DOCKER_TARGET in "${DOCKER_TARGETS[@]}"; do
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# --platform
|
# --platform
|
||||||
DOCKER_BUILD_ARGS+=(--platform "${PLATFORMS-linux/amd64}")
|
DOCKER_BUILD_ARGS+=(--platform "${BUILDX_PLATFORMS-linux/amd64}")
|
||||||
|
|
||||||
# --cache-from / --cache-to
|
# --cache-from / --cache-to
|
||||||
DOCKER_BUILD_ARGS+=("--cache-from=type=registry,ref=${TARGET_DOCKER_TAG}-cache,mode=max")
|
DOCKER_BUILD_ARGS+=("--cache-from=type=registry,ref=${TARGET_DOCKER_TAG}-cache,mode=max")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue