1
0
Fork 0
mirror of https://github.com/docker/setup-buildx-action.git synced 2025-05-11 00:49:30 +02:00

Save BuildKit state on client for cache support

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-04-22 14:05:15 +02:00
parent 74283caced
commit f3f23a5162
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
9 changed files with 127 additions and 8 deletions

View file

@ -197,8 +197,11 @@ Following inputs can be used as `step.with` keys
| `endpoint` | String | [Optional address for docker socket](https://github.com/docker/buildx/blob/master/docs/reference/buildx_create.md#description) or context from `docker context ls` |
| `config` | String | [BuildKit config file](https://github.com/docker/buildx/blob/master/docs/reference/buildx_create.md#config) |
| `config-inline` | String | Same as `config` but inline |
| `state-dir` | String | Path to [BuildKit state volume](https://github.com/docker/buildx/blob/master/docs/reference/buildx_rm.md#-keep-buildkit-state---keep-state) directory |
> `config` and `config-inline` are mutually exclusive.
> :bulb: `config` and `config-inline` are mutually exclusive.
> :bulb: `state-dir` can only be used with the `docker-container` driver and a builder with a single node.
> `CSV` type must be a newline-delimited string
> ```yaml