Use buildx bake instead of redefining artifacts
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?
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