Firehed / multistage-docker-build-action

Github Action for optimized multi-stage docker builds
10 stars 3 forks source link

Support parallel builds (via buildx) #39

Closed Firehed closed 1 year ago

Firehed commented 1 year ago

This adjusts the build process to use buildx (which may or may not be the best approach for parallel builds) AND adjusts some of the --cache-from/--cache-to flags so the pre-pulled caches should actually work (historically, enabling buildkit would miss cache and build from scratch most of the time)

https://docs.docker.com/build/cache/backends/

Fixes #36