Reverting cache-from as it wasn't the cause
This commit is contained in:
@@ -38,7 +38,7 @@ fi
|
|||||||
|
|
||||||
if [ "$INPUT_PULL_CACHE" = "true" ]; then
|
if [ "$INPUT_PULL_CACHE" = "true" ]; then
|
||||||
IMAGE_CACHE_NAME="${IMAGE_NAME%%:*}:build-cache"
|
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")
|
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}"
|
echo "Using docker image cache ${IMAGE_CACHE_NAME}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user