DEV Community

Discussion on: Speed up multi-stage Docker builds in CI/CD with Buildkit’s registry cache

Collapse
 
aianus profile image
Alex Ianus

Great article, really helped.

Just wanted to point out that the mode=max parameter is necessary on the --export-cache line in order for the intermediate stages to be cached correctly:

--export-cache mode=max,type=registry,ref=kubestack/framework-dev:buildcache,push=true \