Skip to content

Commit 92e7146

Browse files
authored
Merge pull request #35 from docker/add-cache-from
Add cache_froms input to support --cache-from
2 parents 3ff8147 + abc498d commit 92e7146

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Suggestions and issues can be posted on the repositories [issues page](https://g
1717
* [target](#target)
1818
* [always_pull](#always_pull)
1919
* [build_args](#build_args)
20+
* [cache_froms](#cache_froms)
2021
* [labels](#labels)
2122
* [add_git_labels](#add_git_labels)
2223
* [push](#push)
@@ -114,6 +115,15 @@ Example:
114115
build_args: arg1=value1,arg2=value2
115116
```
116117

118+
### `cache_froms`
119+
120+
Comma-delimited list of images to consider as cache sources.
121+
122+
Example:
123+
```yaml
124+
cache_froms: myorg/baseimage:latest
125+
```
126+
117127
### `labels`
118128

119129
Comma-delimited list of labels to add to the built image.

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ inputs:
5050
build_args:
5151
description: Comma-delimited list of build-time variables
5252
required: false
53+
cache_froms:
54+
description: Comma-delimited list of images to consider as cache sources
55+
required: false
5356
labels:
5457
description: Comma-delimited list of labels to add to the built image
5558
required: false

0 commit comments

Comments
 (0)