Welcome to the v0.11.0 release of buildx!
Please try out the release binaries and report any issues at https://github.com/docker/buildx/issues.
Notable changes
- `--load` now supports loading multi-platform images when used with the [containerd image store](https://docs.docker.com/desktop/containerd/) in moby #1813
- Commands now display the current builder name in the build progress output 1177
- Bake now supports [matrix builds](https://github.com/docker/buildx/blob/v0.11.0/docs/bake-reference.md#targetmatrix). The new `matrix` field on `target` blocks allows easily creating multiple similar sets of targets to remove duplication in bake files 1690 [docs](https://github.com/docker/buildx/blob/v0.11.0-rc1/docs/bake-reference.md#targetmatrix)
- New experimental `--detach` flag for the `build` command to run the build in a detached server, allowing attaching to the build later using `debug-shell` (requires `BUILDX_EXPERIMENTAL=1`) 1296 1620 1614 1737 1755
[docs](https://github.com/docker/buildx/blob/v0.11.0-rc1/docs/guides/debugging.md)
- New monitor mode commands `exec` and `attach` to allow spawning additional processes in a debugging session (requires `BUILDX_EXPERIMENTAL=1`) 1626 [docs](https://github.com/docker/buildx/blob/v0.11.0-rc1/docs/guides/debugging.md)
- New experimental `debug-shell` command to directly start the build debugging monitor without starting a build, allowing connecting to previously `--detach`ed builds (requires `BUILDX_EXPERIMENTAL=1`) 1640
[docs](https://github.com/docker/buildx/blob/v0.11.0-rc1/docs/guides/debugging.md)
- New experimental `--invoke=on-error` option for the `--invoke` command to start the build debugging monitor at the point at which a build fails (requires `BUILDX_EXPERIMENTAL=1`) 1640 [docs](https://github.com/docker/buildx/blob/v0.11.0-rc1/docs/guides/debugging.md)
- Bake now supports detecting `compose.yml`/`compose.yaml` files in addition to `docker-compose.yml`/`docker-compose.yaml` 1752
- Bake now supports new compose build keys `dockerfile_inline` and `additional_contexts` 1784 [docs](https://docs.docker.com/compose/compose-file/build/)
- Bake now supports `replace` HCL function 1720
- Initial support for CLI command completion, including: builder names, folder names for build commands and bake targets 1727
- Builds support the new `EXPERIMENTAL_BUILDKIT_SOURCE_POLICY` environment variable to set the path to a source policy [docs](https://github.com/moby/buildkit/blob/master/docs/build-repro.md#reproducing-the-pinned-dependencies) 1628
- BuildKit versions are correctly displayed in `buildx ls` and `buildx inspect` for builders using the Docker driver 1552
- Display additional builder node details in `buildx inspect` view 1440 1854
- Builders using the remote driver allow using TLS without proving its own key/cert (if BuildKit remote is configured to support it) 1693
- Builders using the kubernetes driver allow automatically generating the node name if not provided 1673
- Builders using the kubernetes driver support a new `serviceaccount` option, which will set the created pod's `serviceAccountName` 1597
- Builders using the kubernetes driver support the `proxy-url` kubeconfig option [docs](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy) 1780
- Bake now allows merging multiple similar attestation parameters into a single parameter to allow overriding with a single global value 1699
- Fix possible panic when no builders are available 1732
- Fix `docker-container` driver hang on container panic 1772
- Fix invalid path when writing certificates for `docker-container` driver on Windows 1831
- Fix bake failure when remote bake file is accessed using SSH 1711 1734
- Fix bake failure when remote bake context is incorrectly resolved 1783
- Fix path resolution of `BAKE_CMD_CONTEXT` and `cwd://` paths in bake contexts 1840
- Fix mixed OCI and Docker media types when creating images using `imagetools create` 1797
- Fix mismatched image id between `--iidfile` and `-q` 1844
- Fix opaque error messages on invalid edge-case git urls 1710 1733
- Fix previously discarded error messages from logrus 1853
- Fix AWS authentication when mixing static creds and IAM profiles 1816
- Fix race in printer so that logrus warning messages appear at the end of the build deterministically 1794
- Fix connection leak for feature check on default `docker` driver 1776
Contributors
* [Justin Chadwell](https://github.com/jedevc)
* [CrazyMax](https://github.com/crazy-max)
* [Tõnis Tiigi](https://github.com/tonistiigi)
* [Sebastiaan van Stijn](https://github.com/thaJeztah)
* [Kohei Tokunaga](https://github.com/ktock)
* [David Karlsson](https://github.com/dvdksn)
* [Akihiro Suda](https://github.com/AkihiroSuda)
* [Ben Peachey](https://github.com/potherca)
* [Brian Goff](https://github.com/cpuguy83)
* [Nick Santos](https://github.com/nicks)
* [Nick Sieger](https://github.com/nicksieger)
* [Batuhan Apaydın](https://github.com/developer-guy)
* [Bertrand Paquet](https://github.com/bpaquet)
* [David Gageot](https://github.com/dgageot)
* [Elran Shefer](https://github.com/IamShobe)
* [Milas Bowman](https://github.com/milas)
* [Tianon Gravi](https://github.com/tianon)
* [Timofey Kirillov](https://github.com/distorhead)
* [Robert Lestak](https://github.com/robertlestak)
Dependency Changes
* **github.com/AdaLogics/go-fuzz-headers** 43070de90fa1 **_new_**
* **github.com/Masterminds/semver/v3** v3.2.1 **_new_**
* **github.com/Microsoft/go-winio** v0.5.2 -> v0.6.1
* **github.com/aws/aws-sdk-go-v2** v1.16.3 -> v1.17.6
* **github.com/aws/aws-sdk-go-v2/config** v1.15.5 -> v1.18.16
* **github.com/aws/aws-sdk-go-v2/credentials** v1.12.0 -> v1.13.16
* **github.com/aws/aws-sdk-go-v2/feature/ec2/imds** v1.12.4 -> v1.12.24
* **github.com/aws/aws-sdk-go-v2/internal/configsources** v1.1.10 -> v1.1.30
* **github.com/aws/aws-sdk-go-v2/internal/endpoints/v2** v2.4.4 -> v2.4.24
* **github.com/aws/aws-sdk-go-v2/internal/ini** v1.3.11 -> v1.3.31
* **github.com/aws/aws-sdk-go-v2/service/internal/presigned-url** v1.9.4 -> v1.9.24
* **github.com/aws/aws-sdk-go-v2/service/sso** v1.11.4 -> v1.12.5
* **github.com/aws/aws-sdk-go-v2/service/ssooidc** v1.14.5 **_new_**
* **github.com/aws/aws-sdk-go-v2/service/sts** v1.16.4 -> v1.18.6
* **github.com/aws/smithy-go** v1.11.2 -> v1.13.5
* **github.com/cenkalti/backoff/v4** v4.1.2 -> v4.2.0
* **github.com/cespare/xxhash/v2** v2.1.2 -> v2.2.0
* **github.com/compose-spec/compose-go** v1.6.0 -> v1.14.0
* **github.com/containerd/containerd** 1709cfe273d9 -> v1.7.2
* **github.com/containerd/continuity** v0.3.0 -> v0.4.1
* **github.com/containerd/ttrpc** v1.1.0 -> v1.2.2
* **github.com/containerd/typeurl/v2** v2.1.1 **_new_**
* **github.com/cyphar/filepath-securejoin** v0.2.3 **_new_**
* **github.com/distribution/distribution/v3** 4bf3547399eb -> 36d8c594d7aa
* **github.com/docker/cli** v23.0.0-rc.1 -> v24.0.2
* **github.com/docker/distribution** v2.8.1 -> v2.8.2
* **github.com/docker/docker** v23.0.0-rc.1 -> v24.0.2
* **github.com/emicklei/go-restful/v3** v3.10.1 **_new_**
* **github.com/felixge/httpsnoop** v1.0.2 -> v1.0.3
* **github.com/go-openapi/jsonpointer** v0.19.5 **_new_**
* **github.com/go-openapi/jsonreference** v0.20.0 **_new_**
* **github.com/go-openapi/swag** v0.19.14 **_new_**
* **github.com/golang/protobuf** v1.5.2 -> v1.5.3
* **github.com/google/certificate-transparency-go** v1.0.21 -> v1.1.4
* **github.com/google/gnostic** v0.5.7-v3refs **_new_**
* **github.com/grpc-ecosystem/grpc-gateway/v2** v2.11.3 **_new_**
* **github.com/imdario/mergo** v0.3.13 -> v0.3.15
* **github.com/in-toto/in-toto-golang** v0.5.0 **_new_**
* **github.com/inconshreveable/mousetrap** v1.0.1 -> v1.1.0
* **github.com/josharian/intern** v1.0.0 **_new_**
* **github.com/klauspost/compress** v1.15.12 -> v1.16.3
* **github.com/kr/pretty** v0.3.0 -> v0.2.1
* **github.com/mailru/easyjson** v0.7.6 **_new_**
* **github.com/moby/buildkit** v0.11.2 -> 67a08623b95a
* **github.com/moby/term** abb19827d345 -> v0.5.0
* **github.com/munnerz/goautoneg** a7dc8b61c822 **_new_**
* **github.com/opencontainers/image-spec** 02efb9a75ee1 -> v1.1.0-rc3
* **github.com/opencontainers/runc** v1.1.3 -> v1.1.7
* **github.com/prometheus/common** v0.37.0 -> v0.42.0
* **github.com/prometheus/procfs** v0.8.0 -> v0.9.0
* **github.com/secure-systems-lab/go-securesystemslib** v0.4.0 **_new_**
* **github.com/sergi/go-diff** v1.2.0 **_new_**
* **github.com/shibumi/go-pathspec** v1.3.0 **_new_**
* **github.com/spf13/cobra** v1.6.1 -> v1.7.0
* **github.com/stretchr/testify** v1.8.1 -> v1.8.4
* **github.com/tonistiigi/fsutil** fb433841cbfa -> 9e7a6df48576
* **go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc** v0.29.0 -> v0.40.0
* **go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace** v0.29.0 -> v0.40.0
* **go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp** v0.29.0 -> v0.40.0
* **go.opentelemetry.io/otel** v1.4.1 -> v1.14.0
* **go.opentelemetry.io/otel/exporters/otlp/internal/retry** v1.4.1 -> v1.14.0
* **go.opentelemetry.io/otel/exporters/otlp/otlptrace** v1.4.1 -> v1.14.0
* **go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc** v1.4.1 -> v1.14.0
* **go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp** v1.4.1 -> v1.14.0
* **go.opentelemetry.io/otel/metric** v0.27.0 -> v0.37.0
* **go.opentelemetry.io/otel/sdk** v1.4.1 -> v1.14.0
* **go.opentelemetry.io/otel/trace** v1.4.1 -> v1.14.0
* **go.opentelemetry.io/proto/otlp** v0.12.0 -> v0.19.0
* **golang.org/x/mod** v0.9.0 **_new_**
* **golang.org/x/net** v0.4.0 -> v0.8.0
* **golang.org/x/oauth2** 6fdb5e3db783 -> v0.5.0
* **golang.org/x/sync** v0.1.0 -> v0.2.0
* **golang.org/x/sys** v0.3.0 -> v0.7.0
* **golang.org/x/term** v0.3.0 -> v0.6.0
* **golang.org/x/text** v0.5.0 -> v0.8.0
* **golang.org/x/time** v0.1.0 -> v0.3.0
* **golang.org/x/tools** v0.7.0 **_new_**
* **google.golang.org/genproto** 1bc688fe9f3e -> 7f2fa6fef1f4
* **google.golang.org/grpc** v1.50.1 -> v1.53.0
* **google.golang.org/protobuf** v1.28.1 -> v1.30.0
* **k8s.io/api** v0.22.4 -> v0.26.2
* **k8s.io/apimachinery** v0.22.4 -> v0.26.2
* **k8s.io/apiserver** v0.26.2 **_new_**
* **k8s.io/client-go** v0.22.4 -> v0.26.2
* **k8s.io/klog/v2** v2.30.0 -> v2.90.1
* **k8s.io/kube-openapi** 172d655c2280 **_new_**
* **k8s.io/utils** cb0fa318a74b -> a5ecb0141aa5
* **sigs.k8s.io/json** f223a00ba0e2 **_new_**
* **sigs.k8s.io/structured-merge-diff/v4** v4.1.2 -> v4.2.3
* **sigs.k8s.io/yaml** v1.2.0 -> v1.3.0
Previous release can be found at [v0.10.4](https://github.com/docker/buildx/releases/tag/v0.10.4)