diff --git a/docs/advanced/cache.md b/docs/advanced/cache.md index 0c0592d..2180d03 100644 --- a/docs/advanced/cache.md +++ b/docs/advanced/cache.md @@ -41,7 +41,7 @@ jobs: push: true tags: user/app:latest cache-from: type=registry,ref=user/app:latest - cache-to: type=inline + cache-to: type=inline,mode=max ``` ## GitHub cache @@ -95,7 +95,7 @@ jobs: push: true tags: user/app:latest cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache-new + cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max - # Temp fix # https://github.com/docker/build-push-action/issues/252