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 ontarget
blocks allows easily creating multiple similar sets of targets to remove duplication in bake files #1690 docs -
New experimental
--detach
flag for thebuild
command to run the build in a detached server, allowing attaching to the build later usingdebug-shell
(requiresBUILDX_EXPERIMENTAL=1
) #1296 #1620 #1614 #1737 #1755
docs -
New monitor mode commands
exec
andattach
to allow spawning additional processes in a debugging session (requiresBUILDX_EXPERIMENTAL=1
) #1626 docs -
New experimental
debug-shell
command to directly start the build debugging monitor without starting a build, allowing connecting to previously--detach
ed builds (requiresBUILDX_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 (requiresBUILDX_EXPERIMENTAL=1
) #1640 docs -
Bake now supports detecting
compose.yml
/compose.yaml
files in addition todocker-compose.yml
/docker-compose.yaml
#1752 -
Bake now supports new compose build keys
dockerfile_inline
andadditional_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
andbuildx 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'sserviceAccountName
#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
andcwd://
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
- CrazyMax
- Tõnis Tiigi
- Sebastiaan van Stijn
- Kohei Tokunaga
- David Karlsson
- Akihiro Suda
- Ben Peachey
- Brian Goff
- Nick Santos
- Nick Sieger
- Batuhan Apaydın
- Bertrand Paquet
- David Gageot
- Elran Shefer
- Milas Bowman
- Tianon Gravi
- Timofey Kirillov
- Robert Lestak
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