Skip to content

Releases: docker/buildx

v0.11.1

05 Jul 17:13
b4df085
Compare
Choose a tag to compare

Welcome to the v0.11.1 release of buildx!

Please try out the release binaries and report any issues at https://github.com/docker/buildx/issues.

Contributors

Changes

  • Fix a regression for bake where services in profiles would not be loaded. #1903

  • Fix a regression where --cgroup-parent option had no effect during build. #1913

  • Fix a regression where valid docker contexts could fail buildx builder name validation. #1879

  • Fix an issue where the host-gateway special address could not be used as an argument to --add-host. #1894 (also requires moby/moby#45767)

  • Fix a possible panic when terminal is resized during the build. #1929

Dependency Changes

  • github.com/docker/cli-docs-tool v0.5.1 -> v0.6.0

Previous release can be found at v0.11.0

v0.11.0

13 Jun 14:24
687feca
Compare
Choose a tag to compare

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 in moby #1813

  • Commands now display the current builder name in the build progress output #1177

  • Bake now supports matrix builds. The new matrix field on target blocks allows easily creating multiple similar sets of targets to remove duplication in bake files #1690 docs

  • 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

  • New monitor mode commands exec and attach to allow spawning additional processes in a debugging session (requires BUILDX_EXPERIMENTAL=1) #1626 docs

  • New experimental debug-shell command to directly start the build debugging monitor without starting a build, allowing connecting to previously --detached builds (requires BUILDX_EXPERIMENTAL=1) #1640
    docs

  • 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

  • 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

  • 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 #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 #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

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
  • **git...
Read more

v0.11.0-rc2

07 Jun 14:19
47e34f2
Compare
Choose a tag to compare
v0.11.0-rc2 Pre-release
Pre-release

Welcome to the v0.11.0-rc2 release of buildx!

This is a pre-release of buildx

Please try out the release binaries and report any issues at https://github.com/docker/buildx/issues.

Notable changes

Changes in RC1

  • --load now supports loading multi-platform images when used with the containerd image store #1813

  • Display additional builder node details in buildx inspect view #1440 #1854

  • Bake now allows merging multiple similar attestation parameters into a single parameter to allow overriding with a single global value #1699

  • Fix invalid path when writing certificates for docker-container driver on Windows #1831

  • 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 previously discarded error messages from logrus #1853

  • Fix AWS authentication when mixing static creds and IAM profiles #1816

  • Fix progress output hang when using BUILDX_EXPERIMENTAL=1 #1804

Contributors

Dependency Changes

  • github.com/Masterminds/semver/v3 v3.2.0 -> v3.2.1
  • github.com/Microsoft/go-winio v0.6.0 -> 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/compose-spec/compose-go v1.13.4 -> v1.14.0
  • github.com/containerd/containerd v1.7.0 -> v1.7.1
  • github.com/containerd/continuity v0.3.0 -> v0.4.1
  • github.com/containerd/ttrpc v1.2.1 -> v1.2.2
  • github.com/containerd/typeurl/v2 v2.1.0 -> v2.1.1
  • github.com/docker/cli v23.0.6 -> v24.0.1
  • github.com/docker/docker v23.0.6 -> v24.0.1
  • github.com/golang/protobuf v1.5.2 -> v1.5.3
  • github.com/in-toto/in-toto-golang v0.5.0 new
  • github.com/inconshreveable/mousetrap v1.0.1 -> v1.1.0
  • github.com/klauspost/compress v1.16.0 -> v1.16.3
  • github.com/kr/pretty v0.2.1 new
  • github.com/moby/buildkit 333ee9158128 -> c36941f4a10e
  • github.com/moby/term abb19827d345 -> v0.5.0
  • github.com/opencontainers/image-spec 3a7f492d3f1b -> v1.1.0-rc3
  • github.com/opencontainers/runc v1.1.5 -> 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/shibumi/go-pathspec v1.3.0 new
  • github.com/spf13/cobra v1.6.1 -> v1.7.0
  • github.com/stretchr/testify v1.8.2 -> v1.8.4
  • github.com/tonistiigi/fsutil fb433841cbfa -> 9e7a6df48576
  • golang.org/x/mod v0.7.0 -> v0.9.0
  • golang.org/x/net v0.7.0 -> v0.8.0
  • golang.org/x/oauth2 v0.4.0 -> v0.5.0
  • golang.org/x/sync v0.1.0 -> v0.2.0
  • golang.org/x/sys v0.6.0 -> v0.7.0
  • golang.org/x/term v0.5.0 -> v0.6.0
  • golang.org/x/text v0.7.0 -> v0.8.0
  • golang.org/x/time v0.1.0 -> v0.3.0
  • golang.org/x/tools v0.5.0 -> v0.7.0
  • google.golang.org/protobuf v1.28.1 -> v1.30.0
  • k8s.io/api v0.25.4 -> v0.26.2
  • k8s.io/apimachinery v0.25.4 -> v0.26.2
  • k8s.io/apiserver v0.25.4 -> v0.26.2
  • k8s.io/client-go v0.25.4 -> v0.26.2

Previous release can be found at v0.11.0-rc1

v0.10.5

22 May 22:04
86bdced
Compare
Choose a tag to compare

Welcome to the 0.10.5 release of buildx!

Please try out the release binaries and report any issues at
https://github.com/docker/buildx/issues.

Note

Buildx v0.10 enables support for a minimal SLSA Provenance attestation, which requires support for OCI-compliant multi-platform images. This may introduce issues with registry and runtime support (e.g. Google Cloud Run and Lambda). You can optionally disable the default provenance attestation functionality using --provenance=false.

Notable changes

  • Fix issue where build progress could pause for a couple of seconds with no new output because of a race condition. This issue was more likely to appear when using Docker driver with Docker Engine v24.0 release #1815
  • Fix handling NO_COLOR with empty value #1815

v0.11.0-rc1

12 May 15:06
060ac84
Compare
Choose a tag to compare
v0.11.0-rc1 Pre-release
Pre-release

Welcome to the v0.11.0-rc1 release of buildx!

This is a pre-release of buildx

Please try out the release binaries and report any issues at https://github.com/docker/buildx/issues.

Notable changes

  • Commands now display the current builder name in the build progress output #1177

  • Bake now supports matrix builds. The new matrix field on target blocks allows easily creating multiple similar sets of targets #1690 docs

  • The build command now saves local paths from previous builds to the builder local state #1735

  • 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

  • New monitor mode commands exec and attach to allow spawning additional processes in a debugging session (requires BUILDX_EXPERIMENTAL=1) #1626 docs

  • New experimental debug-shell command to directly start the build debugging monitor without starting a build, allowing connecting to previously --detached builds (requires BUILDX_EXPERIMENTAL=1) #1640 docs

  • 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

  • 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

  • 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 #1628

  • BuildKit versions are correctly displayed in buildx ls and buildx inspect for builders using the Docker driver #1552

  • 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 #1780

  • Fix possible panic when no builders are available #1732

  • Fix docker-container driver hang on container panic #1772

  • 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 opaque error messages on invalid edge-case git urls #1710 #1733

  • 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

Dependency Changes

  • cloud.google.com/go/compute v1.12.1 -> v1.18.0
  • cloud.google.com/go/compute/metadata v0.2.1 -> v0.2.3
  • github.com/AdaLogics/go-fuzz-headers 43070de90fa1 new
  • github.com/Azure/go-autorest/autorest v0.11.24 -> v0.11.27
  • github.com/Azure/go-autorest/autorest/adal v0.9.18 -> v0.9.20
  • github.com/Masterminds/semver/v3 v3.2.0 new
  • github.com/Microsoft/go-winio v0.5.2 -> v0.6.0
  • 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.13.4
  • github.com/containerd/containerd 1709cfe273d9 -> v1.7.0
  • github.com/containerd/ttrpc v1.1.0 -> v1.2.1
  • github.com/containerd/typeurl/v2 v2.1.0 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 -> v23.0.6
  • github.com/docker/distribution v2.8.1 -> v2.8.2
  • github.com/docker/docker v23.0.0-rc.1 -> v23.0.6
  • 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/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/josharian/intern v1.0.0 new
  • github.com/klauspost/compress v1.15.12 -> v1.16.0
  • github.com/mailru/easyjson v0.7.6 new
  • github.com/moby/buildkit v0.11.2 -> 333ee9158128
  • github.com/munnerz/goautoneg a7dc8b61c822 new
  • github.com/opencontainers/image-spec 02efb9a75ee1 -> 3a7f492d3f1b
  • github.com/opencontainers/runc v1.1.3 -> v1.1.5
  • github.com/sergi/go-diff v1.2.0 new
  • github.com/stretchr/testify v1.8.1 -> v1.8.2
  • 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.7.0 new
  • golang.org/x/net v0.4.0 -> v0.7.0
  • golang.org/x/oauth2 6fdb5e3db783 -> v0.4.0
  • golang.org/x/sys v0.3.0 -> v0.6.0
  • golang.org/x/term ...
Read more

v0.10.4

06 Mar 18:23
c513d34
Compare
Choose a tag to compare

Welcome to the 0.10.4 release of buildx!

Please try out the release binaries and report any issues at
https://github.com/docker/buildx/issues.

Note

Buildx v0.10 enables support for a minimal SLSA Provenance attestation, which requires support for OCI-compliant multi-platform images. This may introduce issues with registry and runtime support (e.g. Google Cloud Run and Lambda). You can optionally disable the default provenance attestation functionality using --provenance=false.

Notable changes

  • Add BUILDX_NO_DEFAULT_ATTESTATIONS as alternative to --provenance false #1645
  • Disable dirty Git checkout detection by default for performance. Can be enabled with BUILDX_GIT_CHECK_DIRTY opt-in #1650
  • Strip credentials from VCS hint URL before sending to BuildKit #1664

v0.10.3

16 Feb 13:47
79e156b
Compare
Choose a tag to compare

Welcome to the 0.10.3 release of buildx!

Please try out the release binaries and report any issues at
https://github.com/docker/buildx/issues.

Note

Buildx v0.10 enables support for a minimal SLSA Provenance attestation, which requires support for OCI-compliant multi-platform images. This may introduce issues with registry and runtime support (e.g. Google Cloud Run and Lambda). You can optionally disable the default provenance attestation functionality using --provenance=false.

Notable changes

  • Fix reachable commit and warnings on collecting Git provenance info #1592 #1634
  • Fix a regression where docker context was not being validated #1596
  • Fix function resolution with JSON bake definition #1605
  • Fix case where original HCL bake diagnostic is discarded #1607
  • Fix labels not correctly set with bake and compose file #1631

v0.10.2

30 Jan 22:14
00ed17d
Compare
Choose a tag to compare

Welcome to the 0.10.2 release of buildx!

Please try out the release binaries and report any issues at
https://github.com/docker/buildx/issues.

Note

Buildx v0.10 enables support for a minimal SLSA Provenance attestation, which requires support for OCI-compliant multi-platform images. This may introduce issues with registry and runtime support (e.g. Google Cloud Run and Lambda). You can optionally disable the default provenance attestation functionality using --provenance=false.

Notable changes

  • Fix preferred platforms order not taken into account in multi-node builds #1561
  • Fix possible panic on handling SOURCE_DATE_EPOCH environment variable #1564
  • Fix possible push error on multi-node manifest merge since BuildKit v0.11 on some registries #1566
  • Improve warnings on collecting Git provenance info #1568

v0.10.1

27 Jan 02:17
481796f
Compare
Choose a tag to compare

Welcome to the 0.10.1 release of buildx!

Please try out the release binaries and report any issues at
https://github.com/docker/buildx/issues.

Note

Buildx v0.10 enables support for a minimal SLSA Provenance attestation, which requires support for OCI-compliant multi-platform images. This may introduce issues with registry and runtime support (e.g. Google Cloud Run and Lambda). You can optionally disable the default provenance attestation functionality using --provenance=false.

Notable changes

  • Fix sending the correct origin URL as vsc:source metadata #1548
  • Fix possible panic from data-race #1504
  • Fix regression with rm --all-inactive #1547
  • Improve attestation access in imagetools inspect by lazily loading data #1546
  • Correctly mark capabilities request as internal #1538
  • Detect invalid attestation configuration #1545
  • Update containerd patches to fix possible push regression affecting imagetools commands #1559

Dependency Changes

  • github.com/containerd/containerd v1.6.14 -> 1709cfe273d9
  • github.com/moby/buildkit v0.11.0 -> v0.11.2

Previous release can be found at v0.10.0

v0.10.0

10 Jan 01:09
8764628
Compare
Choose a tag to compare

Welcome to the 0.10.0 release of buildx!

Please try out the release binaries and report any issues at
https://github.com/docker/buildx/issues.

Note

Buildx v0.10 enables support for a minimal SLSA Provenance attestation, which requires support for OCI-compliant multi-platform images. This may introduce issues with registry and runtime support (e.g. Google Cloud Run and Lambda). You can optionally disable the default provenance attestation functionality using --provenance=false.

Notable changes

  • Build command supports new flags --attest and shorthands --sbom and --provenance for adding attestations for your current build. --attest type=sbom or --sbom=true will generate SBOM (Software Bill of Materials) attestation for your build result in SPDX format. --attest type=provenance or --provenance=true will generate SLSA provenance attestation for your build result with information about how the build was performed. When creating OCI images a minimal provenance attestation is included with the image by default. This feature requires BuildKit v0.11.0+. Read more about advanced SBOM options from BuildKit docs. #1412 #1475

  • When building with BuildKit that supports provenance attestations Buildx will automatically share the version control information of your build context so it can be shown in provenance for later debugging. Previously this only happened when building from a Git URL directly. To opt-out of this behavior you can set BUILDX_GIT_INFO=0. Optionally you can also automatically define labels with VCS info by setting BUILDX_GIT_LABELS=1. #1462 #1297 #1341 #1468 #1477

  • Named contexts with --build-context now support oci-layout:// protocol for initializing the context with a value of a local OCI layout directory. E.g. --build-context stagename=oci-layout://path/to/dir. This feature requires BuildKit v0.11.0+ and Dockerfile 1.5.0+. #1456

  • Bake now supports resource interpolation where you can reuse the values from other target definitions. #1434

  • Buildx will now automatically forward SOURCE_DATE_EPOCH build-arg if one is defined in your environment. This feature is meant to be used with updated reproducible builds support in BuildKit v0.11.0+ #1482

  • Buildx will now remember the last activity for a builder for better organization of builder instances. #1439

  • Bake now supports null values for build arguments and label to use the defaults set in Dockerfile #1449

  • Imagetools inspect commands now supports showind SBOM and Provenance data #1444 #1498

  • Increase performance of buildx ls and inspect flows #1430 #1454 #1455 #1345

  • Adding extra hosts with Docker driver now supports Docker specific "host-gateway" special value #1446

  • OCI exporter now supports tar=false option for exporting OCI format directly in a directory #1420

  • Compose support has been updated to 1.6.0 #1387

  • --invoke can now load default launch environment from the image metadata #1324

  • Fix container driver behavior in regards to UserNS #1368

  • Fix possible panic in Bake when using wrong variable value type #1442

  • Fix possible panic in imagetools inspect #1441 #1406

  • Fix sending empty --add-host value to BuildKit by default #1457

  • Fix handling progress prefixes with progress groups #1305

  • Fix recursively resolving groups in Bake #1313

  • Fix possible wrong indentation on multi-node builder manifests #1396

  • Fix possible panic from missing OpenTelemetry configuration #1383

  • Fix --progress=tty behavior when TTY is not available #1371

  • Fix connection error conditions in prune and du commands #1307

Contributors

  • CrazyMax
  • Justin Chadwell
  • Tõnis Tiigi
  • David Karlsson
  • Sebastiaan van Stijn
  • Akihiro Suda
  • David Gageot
  • Felix de Souza
  • Christian Dupuis
  • Mark Hildreth
  • Nick Sieger
  • accetto
  • zhyon404

Dependency Changes

  • cloud.google.com/go/compute v1.12.1 new
  • cloud.google.com/go/compute/metadata v0.2.1 new
  • github.com/aws/aws-sdk-go-v2 v1.16.3 new
  • github.com/aws/aws-sdk-go-v2/config v1.15.5 new
  • github.com/aws/aws-sdk-go-v2/credentials v1.12.0 new
  • github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.4 new
  • github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.10 new
  • github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.4 new
  • github.com/aws/aws-sdk-go-v2/internal/ini v1.3.11 new
  • github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.4 new
  • github.com/aws/aws-sdk-go-v2/service/sso v1.11.4 new
  • github.com/aws/aws-sdk-go-v2/service/sts v1.16.4 new
  • github.com/aws/smithy-go v1.11.2 new
  • github.com/compose-spec/compose-go v1.4.0 -> v1.6.0
  • github.com/containerd/containerd v1.6.6 -> v1.6.14
  • github.com/docker/cli 418ca3b4d46f -> v23.0.0-rc.1
  • github.com/docker/cli-docs-tool v0.5.0 -> v0.5.1
  • github.com/docker/docker a60b458179aa -> v23.0.0-rc.1
  • github.com/docker/docker-credential-helpers v0.6.4 -> v0.7.0
  • github.com/docker/go-units v0.4.0 -> v0.5.0
  • github.com/go-logr/logr v1.2.2 -> v1.2.3
  • github.com/gofrs/flock v0.7.3 -> v0.8.1
  • github.com/google/go-cmp v0.5.8 -> v0.5.9
  • github.com/inconshreveable/mousetrap v1.0.0 -> v1.0.1
  • github.com/klauspost/compress v1.15.7 -> v1.15.12
  • github.com/moby/buildkit 55ba9d14360a -> v0.11.0
  • github.com/moby/patternmatcher v0.5.0 new
  • github.com/moby/sys/mountinfo v0.6.2 new
  • github.com/moby/sys/sequential v0.5.0 new
  • github.com/moby/term 3f7ff695adc6 -> abb19827d345
  • github.com/opencontainers/image-spec c5a74bcca799 -> 02efb9a75ee1
  • github.com/pelletier/go-toml v1.9.4 -> v1.9.5
  • github.com/prometheus/client_golang v1.12.2 -> v1.14.0
  • github.com/prometheus/client_model v0.2.0 -> v0.3.0
  • github.com/prometheus/common v0.32.1 -> v0.37.0
  • github.com/prometheus/procfs v0.7.3 -> v0.8.0
  • github.com/spf13/cobra v1.5.0 -> v1.6.1
  • github.com/spf13/viper v1.14.0 new
  • github.com/stretchr/testify v1.8.0 -> v1.8.1
  • github.com/tonistiigi/fsutil 0dbf3a8a7d58 -> fb433841cbfa
  • golang.org/x/crypto 3147a52a75dd -> v0.2.0
  • golang.org/x/net cd36cc0744dd -> v0.4.0
  • golang.org/x/oauth2 2bc19b11175f -> 6fdb5e3db783
  • golang.org/x/sync 886fb9371eb4 -> v0.1.0
  • golang.org/x/sys c0bba94af5f8 -> v0.3.0
  • golang.org/x/term 03fcf44c2211 -> v0.3.0
  • golang.org/x/time 90d013bbcef8 -> v0.1.0
  • google.golang.org/genproto 1973136f34c6 -> 1bc688fe9f3e
  • google.golang.org/grpc v1.47.0 -> v1.50.1

Previous release can be found at v0.9.1