product-os / flowzone

Reusable, opinionated, zero-conf workflows for GitHub actions
https://flowzone.pages.dev
Apache License 2.0
15 stars 5 forks source link

Improve caching of docker builds #1081

Closed klutchell closed 3 months ago

klutchell commented 3 months ago

Increase cache from min to max, and remove the branch name from the cache scope.

Max mode will cache all layers, including intermediate stages.

This is a minor change as some repositories may run out of cache space when building for many platforms.

See: https://docs.docker.com/build/cache/backends/gha/ Change-type: minor