Skip to content

Commit 54144f4

Browse files
authored
Merge pull request #22063 from crazy-max/buildx-0.21.0
build: buildx 0.21.0 release notes
1 parent df46163 commit 54144f4

File tree

2 files changed

+34
-5
lines changed

2 files changed

+34
-5
lines changed

content/manuals/build/cache/backends/gha.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ The following table describes the available CSV parameters that you can pass to
3131
`--cache-to` and `--cache-from`.
3232

3333
| Name | Option | Type | Default | Description |
34-
| -------------- | ----------------------- | ----------- | ------------------------ | -------------------------------------------------------------------- |
34+
|----------------|-------------------------|-------------|--------------------------|----------------------------------------------------------------------|
3535
| `url` | `cache-to`,`cache-from` | String | `$ACTIONS_CACHE_URL` | Cache server URL, see [authentication][1]. |
36+
| `url_v2` | `cache-to`,`cache-from` | String | `$ACTIONS_CACHE_URL` | Cache v2 server URL, see [authentication][1]. |
3637
| `token` | `cache-to`,`cache-from` | String | `$ACTIONS_RUNTIME_TOKEN` | Access token, see [authentication][1]. |
3738
| `scope` | `cache-to`,`cache-from` | String | `buildkit` | Which scope cache object belongs to, see [scope][2] |
3839
| `mode` | `cache-to` | `min`,`max` | `min` | Cache layers to export, see [cache mode][3]. |
@@ -47,10 +48,10 @@ The following table describes the available CSV parameters that you can pass to
4748

4849
## Authentication
4950

50-
If the `url` or `token` parameters are left unspecified, the `gha` cache backend
51-
will fall back to using environment variables. If you invoke the `docker buildx`
52-
command manually from an inline step, then the variables must be manually
53-
exposed. Consider using the
51+
If the `url`, `url_v2` or `token` parameters are left unspecified, the `gha`
52+
cache backend will fall back to using environment variables. If you invoke the
53+
`docker buildx` command manually from an inline step, then the variables must
54+
be manually exposed. Consider using the
5455
[`crazy-max/ghaction-github-runtime`](https://github.com/crazy-max/ghaction-github-runtime),
5556
GitHub Action as a helper for exposing the variables.
5657

content/manuals/build/release-notes.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,34 @@ toc_max: 2
1010
This page contains information about the new features, improvements, and bug
1111
fixes in [Docker Buildx](https://github.com/docker/buildx).
1212

13+
## 0.21.0
14+
15+
{{< release-date date="2025-02-19" >}}
16+
17+
The full release note for this release is available
18+
[on GitHub](https://github.com/docker/buildx/releases/tag/v0.21.0).
19+
20+
### New
21+
22+
- New command `buildx history trace` lets you inspect traces of a build in a Jaeger UI-based viewer and compare one trace with another. [docker/buildx#2904](https://github.com/docker/buildx/pull/2904)
23+
24+
### Enhancements
25+
26+
- The history inspection command `buildx history inspect` now supports custom formatting with `--format` flag and JSON formatting for machine-readable output. [docker/buildx#2964](https://github.com/docker/buildx/pull/2964)
27+
- Support for CDI device entitlement in build and bake. [docker/buildx#2994](https://github.com/docker/buildx/pull/2994)
28+
- Supported CDI devices are now shown in the builder inspection. [docker/buildx#2983](https://github.com/docker/buildx/pull/2983)
29+
- When using [GitHub Cache backend `type=gha`](cache/backends/gha.md), the URL for the Version 2 or API is now read from the environment and sent to BuildKit. Version 2 backend requires BuildKit v0.20.0 or later. [docker/buildx#2983](https://github.com/docker/buildx/pull/2983), [docker/buildx#3001](https://github.com/docker/buildx/pull/3001)
30+
31+
### Bug fixes
32+
33+
- Avoid unnecessary warnings and prompts when using `--progress=rawjson`. [docker/buildx#2957](https://github.com/docker/buildx/pull/2957)
34+
- Fix regression with debug shell sometimes not working correctly on `--on=error`. [docker/buildx#2958](https://github.com/docker/buildx/pull/2958)
35+
- Fix possible panic errors when using an unknown variable in the Bake definition. [docker/buildx#2960](https://github.com/docker/buildx/pull/2960)
36+
- Fix invalid duplicate output on JSON format formatting of `buildx ls` command. [docker/buildx#2970](https://github.com/docker/buildx/pull/2970)
37+
- Fix bake handling cache imports with CSV string containing multiple registry references. [docker/buildx#2944](https://github.com/docker/buildx/pull/2944)
38+
- Fix issue where error from pulling BuildKit image could be ignored. [docker/buildx#2988](https://github.com/docker/buildx/pull/2988)
39+
- Fix race on pausing progress on debug shell. [docker/buildx#3003](https://github.com/docker/buildx/pull/3003)
40+
1341
## 0.20.1
1442

1543
{{< release-date date="2025-01-23" >}}

0 commit comments

Comments
 (0)