Open JakeSummers opened 1 year ago
I think in this case the call to docker buildx create --use
is throwing away the current buildx driver (which has been configured by crazy-max/ghaction-github-runtime@v2
) and is replacing it with a fresh, unconfigured one.
But that may be incorrect.
I am trying to get Docker-image-layer caching working for my github environment.
One quirk of my build system is that I (indirectly) call
docker build
twice.Unfortunately, when I setup
gha
caching, this doesn't significantly speed up my build because for the second call todocker build
it pulls from thegha
cache instead of the local cache.It looks like you can only push to a single cache so I cannot use a local & remote cache. Are there any workarounds to this issue?
Github action file:
Makefile: