News for hackers. Stuff that matters.
Re:Cache is King: A guide for Docker layer caching in GitHub... by cqqxo4zV46cp on Sunday April 07, 2024 @05:29AM (#39959578)
I got it working, with intermediate layers, too. All to find that I didn’t see that material a performance benefit after taking into account how long it takes to pull from and push to the cache.
Re:Cache is King: A guide for Docker layer caching in GitHub... by cpuguy83 on Sunday April 07, 2024 @11:16AM (#39961317)
You might want to try the actions cache "--cache-to=gha --cache-from=gha", but still it needs to pull that stuff down, just that locality is likely better here.

There's also an action out there "GitHub cache dance" that will stick your whole buildkit state dir into the gha cache.

Re:Cache is King: A guide for Docker layer caching in GitHub... by yeswecatan on Sunday April 07, 2024 @04:43PM (#39963719)
how large is your cache and how long does the pull/push take?