skaffold icon indicating copy to clipboard operation
skaffold copied to clipboard

Use buildx bake instead of redefining artifacts

Open ghdoergeloh opened this issue 1 year ago • 1 comments

We have a repository with some services in docker. We orchestrated the build using docker buildx bake. To use the build and watch functionality, we needed to define all the artifacts again in the skaffold.yaml. Is there an easy way to reuse the definition of a docker bake file to run watch and run the build for changed artifacts?

ghdoergeloh avatar Nov 27 '24 11:11 ghdoergeloh

I am considering migrating from docker compose build to docker bake, but we also use skaffold for local dev, so I was wondering whether to migrate from docker compose build to skaffold build instead.

Thoughts?

What would be the advantages of full bake support compared to a custom builder?

https://github.com/GoogleContainerTools/skaffold/tree/main/examples/custom-buildx

joebowbeer avatar Apr 25 '25 00:04 joebowbeer