Buildah Cache Selection with --cache-from and Remote Image Layers #6657
-
|
Hello Buildah Community, I'm seeking clarification on how Buildah selects cached layers when using the Scenario:I have a base image,
The Question:When Buildah encounters the Specifically, if I have pushed both
My expectation is that it should attempt to use the cached layer from the latest available version of Thank you for your time and insights! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
The argument to |
Beta Was this translation helpful? Give feedback.
The argument to
--cache-fromis, currently, only ever interpreted as a repository name, in which it searches for images tagged using a unique value computed from information about the step for which the cache is being searched and the steps which preceded it.The expectation is that the cached image, if there is a suitable one, was pushed there during a previous build which was run with the same repository specified to a
--cache-toflag, and tagged with the matching value.