mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-12-10 13:52:38 +00:00
Fix BUILDX_PLATFORMS
This commit is contained in:
parent
5356d8e948
commit
0c9195ebc7
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…
Reference in a new issue