Re:Cache is King: A guide for Docker layer caching in GitHub...
by adityamaru on Saturday April 06, 2024 @11:39PM
(#39958006)
oh TIL, that is interesting
Re:Cache is King: A guide for Docker layer caching in GitHub...
by Arbortheus on Sunday April 07, 2024 @07:37AM
(#39960098)
That’s a great idea.
Important note if you're taking advice: cache-from and cache-to both accept multiple values. Cache to just ouputs the cache data to all the ones specified. cache-from looks for cache hits in the sources in-order. You can do some clever stuff to maximize cache hits with the least amount of downloading using the right combination.