Configure buildx cache to max

This commit is contained in:
xZero707 2021-09-25 01:15:09 +02:00
parent b9dbb0a6a3
commit 8acffe3dc8

View File

@ -27,7 +27,7 @@ for TARGET_VERSION in ${WP_VERSIONS}; do
--pull \
--push \
--cache-from "type=local,src=${CACHE_DIR}" \
--cache-to "type=local,dest=${CACHE_DIR}" \
--cache-to "type=local,dest=${CACHE_DIR},mode=max" \
--build-arg "WP_VERSION=${TARGET_VERSION}" \
--platform "${TARGET_PLATFORMS}" \
${IMAGE_TAGS[@]}