Skip to content

Commit d810fe0

Browse files
committed
build: fix defaults for gha cache url
Signed-off-by: CrazyMax <[email protected]>
1 parent a21a04f commit d810fe0

File tree

1 file changed

+11
-11
lines changed
  • content/manuals/build/cache/backends

1 file changed

+11
-11
lines changed

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ $ docker buildx build --push -t <registry>/<image> \
3030
The following table describes the available CSV parameters that you can pass to
3131
`--cache-to` and `--cache-from`.
3232

33-
| Name | Option | Type | Default | Description |
34-
|----------------|-------------------------|-------------|--------------------------|----------------------------------------------------------------------|
35-
| `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]. |
37-
| `token` | `cache-to`,`cache-from` | String | `$ACTIONS_RUNTIME_TOKEN` | Access token, see [authentication][1]. |
38-
| `scope` | `cache-to`,`cache-from` | String | `buildkit` | Which scope cache object belongs to, see [scope][2] |
39-
| `mode` | `cache-to` | `min`,`max` | `min` | Cache layers to export, see [cache mode][3]. |
40-
| `ignore-error` | `cache-to` | Boolean | `false` | Ignore errors caused by failed cache exports. |
41-
| `timeout` | `cache-to`,`cache-from` | String | `10m` | Max duration for importing or exporting cache before it's timed out. |
42-
| `repository` | `cache-to` | String | | GitHub repository used for cache storage. |
43-
| `ghtoken` | `cache-to` | String | | GitHub token required for accessing the GitHub API. |
33+
| Name | Option | Type | Default | Description |
34+
|----------------|-------------------------|-------------|------------------------------------------------|----------------------------------------------------------------------|
35+
| `url` | `cache-to`,`cache-from` | String | `$ACTIONS_CACHE_URL` or `$ACTIONS_RESULTS_URL` | Cache server URL, see [authentication][1]. |
36+
| `url_v2` | `cache-to`,`cache-from` | String | `$ACTIONS_RESULTS_URL` | Cache v2 server URL, see [authentication][1]. |
37+
| `token` | `cache-to`,`cache-from` | String | `$ACTIONS_RUNTIME_TOKEN` | Access token, see [authentication][1]. |
38+
| `scope` | `cache-to`,`cache-from` | String | `buildkit` | Which scope cache object belongs to, see [scope][2] |
39+
| `mode` | `cache-to` | `min`,`max` | `min` | Cache layers to export, see [cache mode][3]. |
40+
| `ignore-error` | `cache-to` | Boolean | `false` | Ignore errors caused by failed cache exports. |
41+
| `timeout` | `cache-to`,`cache-from` | String | `10m` | Max duration for importing or exporting cache before it's timed out. |
42+
| `repository` | `cache-to` | String | | GitHub repository used for cache storage. |
43+
| `ghtoken` | `cache-to` | String | | GitHub token required for accessing the GitHub API. |
4444

4545
[1]: #authentication
4646
[2]: #scope

0 commit comments

Comments
 (0)