1
0
mirror of https://github.com/docker/docs.git synced 2026-10-25 06:09:46 +03:00
Files
Sunmin Lee 302177ea01 docs: replace GHA local cache workaround with reset
The local cache example used a Move cache step to work around the cache
directory growing on every run, citing moby/buildkit#1896. That issue is
closed: moby/buildkit#6612 added a reset attribute to the local cache
exporter, and Buildx v0.35.0 is the first release to carry it.

Export to the cache directory directly with reset=true instead. Measured
over five runs exporting to the same directory: without reset the store
grew from 5 to 21 blobs, with reset it stayed at 5, and importing from
it on a fresh builder still hit the cache.

The callout is now a note rather than a warning, since the growth has a
supported fix.

Signed-off-by: Sunmin Lee <134378502+sunm2n@users.noreply.github.com>
2026-08-31 13:16:06 +09:00
..
2024-09-09 11:24:49 +02:00