From 8acffe3dc88fffeb3523ab8affac4f145d978945 Mon Sep 17 00:00:00 2001 From: xZero707 <xzero@elite7hackers.net> Date: Sat, 25 Sep 2021 01:15:09 +0200 Subject: [PATCH] Configure buildx cache to max --- build/bin/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/bin/build b/build/bin/build index 270b41b..dbcc44e 100755 --- a/build/bin/build +++ b/build/bin/build @@ -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[@]}