I try to reuse an existing docker image as buildkit cache source.
On several local machines running a
DOCKER_BUILDKIT=1 docker build . --cache-from ... works fine and the build is done in about 50seconds. On github the cache get’s not hit and the complete image is rebuild (takes ~ 5 minutes)
If I use buildx by including the action and push the image to the local docker images using
--load the load itself takes about 2 minutes.
Has anyone an idea why the “normal” docker build does not hit the cache - the buildx equivalent does?