robusta-dev / robusta

Kubernetes observability and automation, with an awesome Prometheus integration
https://home.robusta.dev/
MIT License
2.57k stars 252 forks source link

Add docker bake config #1393

Closed LeaveMyYard closed 5 months ago

LeaveMyYard commented 5 months ago

Just a minor thing: docker buildx has a new feature called bake, where you can setup how to build and push an image

So, after adding this file it is possible to run this:

TAG=example-tag docker buildx bake --push

And it will build and push the image to the registry. (Also keep in mind, that regular docker build is now deprecated.

More info: https://docs.docker.com/build/bake/reference/