docker buildx build --cache-to type=registry,ref=myrepo/cache -t myapp .
Category: Docker
docker buildx build --cache-to type=registry,ref=myrepo/cache -t myapp .
Export build cache to a registry for CI reuse
Saves the build cache to a registry so CI systems can reuse it on subsequent runs.