Currently the workflow caches the build results based on the git branch name. However we are building one image per cpu architecture, and the last one built overwrites the cache, causing the workflow to build the php extensions from scratch next time it runs.
Currently the workflow caches the build results based on the git branch name. However we are building one image per cpu architecture, and the last one built overwrites the cache, causing the workflow to build the php extensions from scratch next time it runs.
https://docs.docker.com/build/cache/backends/gha/