Removing cache-from to see if it makes any difference

This commit is contained in:
2024-12-06 19:44:10 +01:00
parent b0c13648ac
commit 0979fb71f6

View File

@@ -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