From 4e98070fac94634466e6aee326b54a76c6654000 Mon Sep 17 00:00:00 2001 From: Skydust Date: Fri, 6 Dec 2024 19:58:49 +0100 Subject: [PATCH] Reverting cache-from as it wasn't the cause --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 2ef4003..ee2b35e 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -38,7 +38,7 @@ fi if [ "$INPUT_PULL_CACHE" = "true" ]; then IMAGE_CACHE_NAME="${IMAGE_NAME%%:*}:build-cache" - #DOCKER_BUILD_OPTIONS+=("--cache-from" "type=registry,ref=${IMAGE_CACHE_NAME}") + DOCKER_BUILD_OPTIONS+=("--cache-from" "type=registry,ref=${IMAGE_CACHE_NAME}") DOCKER_BUILD_OPTIONS+=("--cache-to" "type=registry,image-manifest=true,oci-mediatypes=true,ref=${IMAGE_CACHE_NAME},mode=max") echo "Using docker image cache ${IMAGE_CACHE_NAME}" fi