review comments, align style with driver docs

Signed-off-by: David Karlsson <david.karlsson@docker.com>
This commit is contained in:
David Karlsson
2022-10-04 12:58:00 +02:00
parent 74a822568e
commit 4d6e36df99
6 changed files with 48 additions and 49 deletions

View File

@ -31,15 +31,15 @@ $ docker buildx build . --push -t <user>/<image> \
The following table describes the available CSV parameters that you can pass to
`--cache-to` and `--cache-from`.
| Parameter | Option | Value | Default | Description |
| ------------------- | ---------- | ---------- | ------- | -------------------------------------------- |
| `region` | Both | String | | Geographic location. |
| `bucket` | Both | String | | Name of the S3 bucket used for caching |
| `name` | Both | String | | Name of the cache image |
| `access_key_id` | Both | String | | See [authentication][1] |
| `secret_access_key` | Both | String | | See [authentication][1] |
| `session_token` | Both | String | | See [authentication][1] |
| `mode` | `cache-to` | `min\|max` | `min` | Cache layers to export, see [cache mode][2]. |
| Name | Option | Type | Default | Description |
| ------------------- | ----------------------- | ----------- | ------- | -------------------------------------------- |
| `region` | `cache-to`,`cache-from` | String | | Geographic location. |
| `bucket` | `cache-to`,`cache-from` | String | | Name of the S3 bucket used for caching |
| `name` | `cache-to`,`cache-from` | String | | Name of the cache image |
| `access_key_id` | `cache-to`,`cache-from` | String | | See [authentication][1] |
| `secret_access_key` | `cache-to`,`cache-from` | String | | See [authentication][1] |
| `session_token` | `cache-to`,`cache-from` | String | | See [authentication][1] |
| `mode` | `cache-to` | `min`,`max` | `min` | Cache layers to export, see [cache mode][2]. |
[1]: #authentication
[2]: index.md#cache-mode