Closed LeaveMyYard closed 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
docker buildx
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.
docker build
More info: https://docs.docker.com/build/bake/reference/
Just a minor thing:
docker buildx
has a new feature called bake, where you can setup how to build and push an imageSo, after adding this file it is possible to run this:
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/