mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-25 09:40:56 -05:00
Merge pull request #35 from docker/add-cache-from
Add cache_froms input to support --cache-from
This commit is contained in:
commit
92e7146349
2 changed files with 13 additions and 0 deletions
10
README.md
10
README.md
|
@ -17,6 +17,7 @@ Suggestions and issues can be posted on the repositories [issues page](https://g
|
||||||
* [target](#target)
|
* [target](#target)
|
||||||
* [always_pull](#always_pull)
|
* [always_pull](#always_pull)
|
||||||
* [build_args](#build_args)
|
* [build_args](#build_args)
|
||||||
|
* [cache_froms](#cache_froms)
|
||||||
* [labels](#labels)
|
* [labels](#labels)
|
||||||
* [add_git_labels](#add_git_labels)
|
* [add_git_labels](#add_git_labels)
|
||||||
* [push](#push)
|
* [push](#push)
|
||||||
|
@ -114,6 +115,15 @@ Example:
|
||||||
build_args: arg1=value1,arg2=value2
|
build_args: arg1=value1,arg2=value2
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### `cache_froms`
|
||||||
|
|
||||||
|
Comma-delimited list of images to consider as cache sources.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
```yaml
|
||||||
|
cache_froms: myorg/baseimage:latest
|
||||||
|
```
|
||||||
|
|
||||||
### `labels`
|
### `labels`
|
||||||
|
|
||||||
Comma-delimited list of labels to add to the built image.
|
Comma-delimited list of labels to add to the built image.
|
||||||
|
|
|
@ -50,6 +50,9 @@ inputs:
|
||||||
build_args:
|
build_args:
|
||||||
description: Comma-delimited list of build-time variables
|
description: Comma-delimited list of build-time variables
|
||||||
required: false
|
required: false
|
||||||
|
cache_froms:
|
||||||
|
description: Comma-delimited list of images to consider as cache sources
|
||||||
|
required: false
|
||||||
labels:
|
labels:
|
||||||
description: Comma-delimited list of labels to add to the built image
|
description: Comma-delimited list of labels to add to the built image
|
||||||
required: false
|
required: false
|
||||||
|
|
Loading…
Reference in a new issue