docker/buildx (docker/buildx)
### [`v0.12.0`](https://togithub.com/docker/buildx/releases/tag/v0.12.0)
[Compare Source](https://togithub.com/docker/buildx/compare/v0.11.2...v0.12.0)
Welcome to the 0.12.0 release of buildx!
Please try out the release binaries and report any issues at
https://github.com/docker/buildx/issues.
##### Contributors
- CrazyMax
- Justin Chadwell
- Tõnis Tiigi
- Sebastiaan van Stijn
- Kohei Tokunaga
- David Karlsson
- Jonathan A. Sternberg
- Guillaume Lours
- Kenyon Ralph
- Qasim Sarfraz
- Silvin Lubecki
- Akihiro Suda
- Aleksa Sarai
- Cameron Adams
- Dmitry Makovey
- Jhan S. Álvarez
- Jonathan Piché
- Kenyon Ralph
- Kijima Daigo
- Silvin Lubecki
- Zero
- guoguangwu
##### Notable Changes
- OCI Annotations can be added to build results with a new `--annotation` flag for the build command and `annotations` key in the Bake file. Annotations added to OCI manifests, indexes, and descriptors. [#2020](https://togithub.com/docker/buildx/issues/2020) [#2098](https://togithub.com/docker/buildx/issues/2098)
- New debugging features have been added with a new `debug` command and interactive debugging console. This feature currently requires setting `BUILDX_EXPERIMENTAL=1` [#2006](https://togithub.com/docker/buildx/issues/2006) [#1896](https://togithub.com/docker/buildx/issues/1896) [#1970](https://togithub.com/docker/buildx/issues/1970) [#1914](https://togithub.com/docker/buildx/issues/1914) [#2026](https://togithub.com/docker/buildx/issues/2026) [#2086](https://togithub.com/docker/buildx/issues/2086) [docs](https://togithub.com/docker/buildx/blob/v0.12.0-rc1/docs/guides/debugging.md)
- Special `host-gateway` IP mapping can now be used with the `--add-host` flag during build [#1894](https://togithub.com/docker/buildx/issues/1894) [#2083](https://togithub.com/docker/buildx/issues/2083)
- Bake command now allows adding local source files when building from remote definition [#1838](https://togithub.com/docker/buildx/issues/1838)
- The status of uploading build results to Docker is now shown interactively on progressbar [#1994](https://togithub.com/docker/buildx/issues/1994)
- Error handling has been improved when bootstrapping multi-node build clusters [#1869](https://togithub.com/docker/buildx/issues/1869)
- Compose support has been updated to 1.20, enabling "include" functionality when using the Bake command [#1971](https://togithub.com/docker/buildx/issues/1971) [#2065](https://togithub.com/docker/buildx/issues/2065) [#2094](https://togithub.com/docker/buildx/issues/2094)
- Imagetools create command now allows adding annotation when creating new images in the registry [#1965](https://togithub.com/docker/buildx/issues/1965)
- OpenTelemetry build trace delegation from buildx is now possible with Docker and Remote driver [#2034](https://togithub.com/docker/buildx/issues/2034)
- Bake command now shows all files where the build definition was loaded from on the progressbar [#2076](https://togithub.com/docker/buildx/issues/2076)
- Bake files now allow the same attributes to be defined in multiple definition files. [#1062](https://togithub.com/docker/buildx/issues/1062)
- Using the Bake command with a remote definition now allows this definition to use local Dockerfiles [#2015](https://togithub.com/docker/buildx/issues/2015)
- Docker container driver now explicitly sets BuildKit config path to make sure configurations are loaded from same location for both mainline and rootless images [#2093](https://togithub.com/docker/buildx/issues/2093)
- Improve performance of detecting when BuildKit instance has completed booting [#1934](https://togithub.com/docker/buildx/issues/1934)
- Container driver now accepts many new driver options for defining the resource limits for BuildKit container [#2048](https://togithub.com/docker/buildx/issues/2048)
- Inspection commands formatting has been improved [#2068](https://togithub.com/docker/buildx/issues/2068)
- Error messages about driver capabilities have been improved [#1998](https://togithub.com/docker/buildx/issues/1998)
- Improve errors when invoking Bake command without targets [#2100](https://togithub.com/docker/buildx/issues/2100)
- Allow enabling debug logs with environment variables when running in standalone mode [#1821](https://togithub.com/docker/buildx/issues/1821)
- When using Docker driver the default image resolve mode has been updated to prefer local Docker images for backward compatibility [#1886](https://togithub.com/docker/buildx/issues/1886)
- Kubernetes driver now allows setting custom annotations and labels to the BuildKit deployments and pods [#1938](https://togithub.com/docker/buildx/issues/1938)
- Kubernetes driver now allows setting authentication token with endpoint configuration [#1891](https://togithub.com/docker/buildx/issues/1891)
- Fix possible issue with chained targets in Bake that could result in build failing or local source for a target uploaded multiple times [#2113](https://togithub.com/docker/buildx/issues/2113)
- Fix issue when accessing global target properties when using the matrix feature of the Bake command [#2106](https://togithub.com/docker/buildx/issues/2106)
- Fixes for formatting validation of certain build flags [#2040](https://togithub.com/docker/buildx/issues/2040)
- Fixes to avoid locking certain commands unnecessarily while booting builder nodes. [#2066](https://togithub.com/docker/buildx/issues/2066)
- Fix cases where multiple builds try to bootstrap the same builder instance in parallel [#2000](https://togithub.com/docker/buildx/issues/2000)
- Fix cases where errors on uploading build results to docker could be dropped in some cases [#1927](https://togithub.com/docker/buildx/issues/1927)
- Fix detecting capabilities for missing attestation support based on build output [#1988](https://togithub.com/docker/buildx/issues/1988)
- Fix the build for loading in Bake remote definition to not show up in build history records [#1961](https://togithub.com/docker/buildx/issues/1961) [#1954](https://togithub.com/docker/buildx/issues/1954)
- Fix errors when building Compose files using the that define profiles with Bake [#1903](https://togithub.com/docker/buildx/issues/1903)
- Fix possible time correction errors on progressbar [#1968](https://togithub.com/docker/buildx/issues/1968)
- Fix passing custom Cgroup parent to builds that used the new controller interface [#1913](https://togithub.com/docker/buildx/issues/1913)
##### Dependency Changes
- **github.com/AdaLogics/go-fuzz-headers** [`43070de`](https://togithub.com/docker/buildx/commit/43070de90fa1) -> [`ced1acd`](https://togithub.com/docker/buildx/commit/ced1acdcaa24)
- **github.com/Microsoft/hcsshim** v0.11.1 ***new***
- **github.com/Shopify/logrus-bugsnag** [`577dee2`](https://togithub.com/docker/buildx/commit/577dee27f20d) ***new***
- **github.com/apparentlymart/go-textseg/v15** v15.0.0 ***new***
- **github.com/compose-spec/compose-go** v1.14.0 -> v1.20.0
- **github.com/containerd/containerd** v1.7.2 -> v1.7.7
- **github.com/containerd/continuity** v0.4.1 -> v0.4.2
- **github.com/containerd/log** v0.1.0 ***new***
- **github.com/creack/pty** v1.1.18 ***new***
- **github.com/distribution/reference** v0.5.0 ***new***
- **github.com/docker/cli** v24.0.2 -> v24.0.5
- **github.com/docker/docker** [`36e9e79`](https://togithub.com/docker/buildx/commit/36e9e796c6fc) -> v24.0.5
- **github.com/hashicorp/go-cleanhttp** v0.5.2 ***new***
- **github.com/hashicorp/go-cty-funcs** [`2721b1e`](https://togithub.com/docker/buildx/commit/2721b1e36840) -> [`a090f58`](https://togithub.com/docker/buildx/commit/a090f58aa992)
- **github.com/hashicorp/hcl/v2** v2.8.2 -> v2.19.1
- **github.com/imdario/mergo** v0.3.15 -> v0.3.16
- **github.com/moby/buildkit** [`faa0cc7`](https://togithub.com/docker/buildx/commit/faa0cc7da353) -> [`d5c1d78`](https://togithub.com/docker/buildx/commit/d5c1d785b042)
- **github.com/moby/patternmatcher** v0.5.0 -> v0.6.0
- **github.com/opencontainers/image-spec** v1.1.0-rc3 -> v1.1.0-rc5
- **github.com/opencontainers/runc** v1.1.7 -> v1.1.9
- **github.com/sirupsen/logrus** v1.9.0 -> v1.9.3
- **github.com/theupdateframework/notary** v0.6.1 -> v0.7.0
- **github.com/zclconf/go-cty** v1.10.0 -> v1.14.1
- **golang.org/x/exp** [`613f0c0`](https://togithub.com/docker/buildx/commit/613f0c0eb8a1) ***new***
- **k8s.io/api** v0.26.2 -> v0.26.7
- **k8s.io/apimachinery** v0.26.2 -> v0.26.7
- **k8s.io/apiserver** v0.26.2 -> v0.26.7
- **k8s.io/client-go** v0.26.2 -> v0.26.7
Previous release can be found at [v0.11.2](https://togithub.com/docker/buildx/releases/tag/v0.11.2)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v0.11.2
->v0.12.0
Release Notes
docker/buildx (docker/buildx)
### [`v0.12.0`](https://togithub.com/docker/buildx/releases/tag/v0.12.0) [Compare Source](https://togithub.com/docker/buildx/compare/v0.11.2...v0.12.0) Welcome to the 0.12.0 release of buildx! Please try out the release binaries and report any issues at https://github.com/docker/buildx/issues. ##### Contributors - CrazyMax - Justin Chadwell - Tõnis Tiigi - Sebastiaan van Stijn - Kohei Tokunaga - David Karlsson - Jonathan A. Sternberg - Guillaume Lours - Kenyon Ralph - Qasim Sarfraz - Silvin Lubecki - Akihiro Suda - Aleksa Sarai - Cameron Adams - Dmitry Makovey - Jhan S. Álvarez - Jonathan Piché - Kenyon Ralph - Kijima Daigo - Silvin Lubecki - Zero - guoguangwu ##### Notable Changes - OCI Annotations can be added to build results with a new `--annotation` flag for the build command and `annotations` key in the Bake file. Annotations added to OCI manifests, indexes, and descriptors. [#2020](https://togithub.com/docker/buildx/issues/2020) [#2098](https://togithub.com/docker/buildx/issues/2098) - New debugging features have been added with a new `debug` command and interactive debugging console. This feature currently requires setting `BUILDX_EXPERIMENTAL=1` [#2006](https://togithub.com/docker/buildx/issues/2006) [#1896](https://togithub.com/docker/buildx/issues/1896) [#1970](https://togithub.com/docker/buildx/issues/1970) [#1914](https://togithub.com/docker/buildx/issues/1914) [#2026](https://togithub.com/docker/buildx/issues/2026) [#2086](https://togithub.com/docker/buildx/issues/2086) [docs](https://togithub.com/docker/buildx/blob/v0.12.0-rc1/docs/guides/debugging.md) - Special `host-gateway` IP mapping can now be used with the `--add-host` flag during build [#1894](https://togithub.com/docker/buildx/issues/1894) [#2083](https://togithub.com/docker/buildx/issues/2083) - Bake command now allows adding local source files when building from remote definition [#1838](https://togithub.com/docker/buildx/issues/1838) - The status of uploading build results to Docker is now shown interactively on progressbar [#1994](https://togithub.com/docker/buildx/issues/1994) - Error handling has been improved when bootstrapping multi-node build clusters [#1869](https://togithub.com/docker/buildx/issues/1869) - Compose support has been updated to 1.20, enabling "include" functionality when using the Bake command [#1971](https://togithub.com/docker/buildx/issues/1971) [#2065](https://togithub.com/docker/buildx/issues/2065) [#2094](https://togithub.com/docker/buildx/issues/2094) - Imagetools create command now allows adding annotation when creating new images in the registry [#1965](https://togithub.com/docker/buildx/issues/1965) - OpenTelemetry build trace delegation from buildx is now possible with Docker and Remote driver [#2034](https://togithub.com/docker/buildx/issues/2034) - Bake command now shows all files where the build definition was loaded from on the progressbar [#2076](https://togithub.com/docker/buildx/issues/2076) - Bake files now allow the same attributes to be defined in multiple definition files. [#1062](https://togithub.com/docker/buildx/issues/1062) - Using the Bake command with a remote definition now allows this definition to use local Dockerfiles [#2015](https://togithub.com/docker/buildx/issues/2015) - Docker container driver now explicitly sets BuildKit config path to make sure configurations are loaded from same location for both mainline and rootless images [#2093](https://togithub.com/docker/buildx/issues/2093) - Improve performance of detecting when BuildKit instance has completed booting [#1934](https://togithub.com/docker/buildx/issues/1934) - Container driver now accepts many new driver options for defining the resource limits for BuildKit container [#2048](https://togithub.com/docker/buildx/issues/2048) - Inspection commands formatting has been improved [#2068](https://togithub.com/docker/buildx/issues/2068) - Error messages about driver capabilities have been improved [#1998](https://togithub.com/docker/buildx/issues/1998) - Improve errors when invoking Bake command without targets [#2100](https://togithub.com/docker/buildx/issues/2100) - Allow enabling debug logs with environment variables when running in standalone mode [#1821](https://togithub.com/docker/buildx/issues/1821) - When using Docker driver the default image resolve mode has been updated to prefer local Docker images for backward compatibility [#1886](https://togithub.com/docker/buildx/issues/1886) - Kubernetes driver now allows setting custom annotations and labels to the BuildKit deployments and pods [#1938](https://togithub.com/docker/buildx/issues/1938) - Kubernetes driver now allows setting authentication token with endpoint configuration [#1891](https://togithub.com/docker/buildx/issues/1891) - Fix possible issue with chained targets in Bake that could result in build failing or local source for a target uploaded multiple times [#2113](https://togithub.com/docker/buildx/issues/2113) - Fix issue when accessing global target properties when using the matrix feature of the Bake command [#2106](https://togithub.com/docker/buildx/issues/2106) - Fixes for formatting validation of certain build flags [#2040](https://togithub.com/docker/buildx/issues/2040) - Fixes to avoid locking certain commands unnecessarily while booting builder nodes. [#2066](https://togithub.com/docker/buildx/issues/2066) - Fix cases where multiple builds try to bootstrap the same builder instance in parallel [#2000](https://togithub.com/docker/buildx/issues/2000) - Fix cases where errors on uploading build results to docker could be dropped in some cases [#1927](https://togithub.com/docker/buildx/issues/1927) - Fix detecting capabilities for missing attestation support based on build output [#1988](https://togithub.com/docker/buildx/issues/1988) - Fix the build for loading in Bake remote definition to not show up in build history records [#1961](https://togithub.com/docker/buildx/issues/1961) [#1954](https://togithub.com/docker/buildx/issues/1954) - Fix errors when building Compose files using the that define profiles with Bake [#1903](https://togithub.com/docker/buildx/issues/1903) - Fix possible time correction errors on progressbar [#1968](https://togithub.com/docker/buildx/issues/1968) - Fix passing custom Cgroup parent to builds that used the new controller interface [#1913](https://togithub.com/docker/buildx/issues/1913) ##### Dependency Changes - **github.com/AdaLogics/go-fuzz-headers** [`43070de`](https://togithub.com/docker/buildx/commit/43070de90fa1) -> [`ced1acd`](https://togithub.com/docker/buildx/commit/ced1acdcaa24) - **github.com/Microsoft/hcsshim** v0.11.1 ***new*** - **github.com/Shopify/logrus-bugsnag** [`577dee2`](https://togithub.com/docker/buildx/commit/577dee27f20d) ***new*** - **github.com/apparentlymart/go-textseg/v15** v15.0.0 ***new*** - **github.com/compose-spec/compose-go** v1.14.0 -> v1.20.0 - **github.com/containerd/containerd** v1.7.2 -> v1.7.7 - **github.com/containerd/continuity** v0.4.1 -> v0.4.2 - **github.com/containerd/log** v0.1.0 ***new*** - **github.com/creack/pty** v1.1.18 ***new*** - **github.com/distribution/reference** v0.5.0 ***new*** - **github.com/docker/cli** v24.0.2 -> v24.0.5 - **github.com/docker/docker** [`36e9e79`](https://togithub.com/docker/buildx/commit/36e9e796c6fc) -> v24.0.5 - **github.com/hashicorp/go-cleanhttp** v0.5.2 ***new*** - **github.com/hashicorp/go-cty-funcs** [`2721b1e`](https://togithub.com/docker/buildx/commit/2721b1e36840) -> [`a090f58`](https://togithub.com/docker/buildx/commit/a090f58aa992) - **github.com/hashicorp/hcl/v2** v2.8.2 -> v2.19.1 - **github.com/imdario/mergo** v0.3.15 -> v0.3.16 - **github.com/moby/buildkit** [`faa0cc7`](https://togithub.com/docker/buildx/commit/faa0cc7da353) -> [`d5c1d78`](https://togithub.com/docker/buildx/commit/d5c1d785b042) - **github.com/moby/patternmatcher** v0.5.0 -> v0.6.0 - **github.com/opencontainers/image-spec** v1.1.0-rc3 -> v1.1.0-rc5 - **github.com/opencontainers/runc** v1.1.7 -> v1.1.9 - **github.com/sirupsen/logrus** v1.9.0 -> v1.9.3 - **github.com/theupdateframework/notary** v0.6.1 -> v0.7.0 - **github.com/zclconf/go-cty** v1.10.0 -> v1.14.1 - **golang.org/x/exp** [`613f0c0`](https://togithub.com/docker/buildx/commit/613f0c0eb8a1) ***new*** - **k8s.io/api** v0.26.2 -> v0.26.7 - **k8s.io/apimachinery** v0.26.2 -> v0.26.7 - **k8s.io/apiserver** v0.26.2 -> v0.26.7 - **k8s.io/client-go** v0.26.2 -> v0.26.7 Previous release can be found at [v0.11.2](https://togithub.com/docker/buildx/releases/tag/v0.11.2)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.