Replies: 1 comment 1 reply
-
Yes, you can use multiple. BuildKit will match the longest cache chain. Order does not matter (IIRC). On multiple matches, creation date is looked at (newer cache is better), and the local cache has higher priority. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! Is buildx able to handle multiple "--cache-from" arguments? We have a situation where we'd like to fall-back to a cache repository with a different name if the preferred cache doesn't exist. We're using multiple "--cache-from" arguments currently but it's not clear to me whether that's actually working and/or whether the ordering of the arguments matters. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions