You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -174,6 +174,12 @@ A list of images to attempt pulling before building in the format `service:CACHE
174
174
175
175
They will be mapped directly to `cache-from` elements in the build according to the spec so any valid format there should be allowed.
176
176
177
+
#### `cache-to` (build only, string or array)
178
+
179
+
A list of export locations to be used to share build cache with future builds in the format `service:CACHE-SPEC` to allow for layer re-use. Unsupported caches are ignored and do not prevent building images.
180
+
181
+
They will be mapped directly to `cache-to` elements in the build according to the spec so any valid format there should be allowed.
182
+
177
183
#### `target` (build only)
178
184
179
185
Allow for intermediate builds as if building with docker's `--target VALUE` options.
0 commit comments