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
I'm using external cache for builds in CI, and though I've read the docs, I still have questions. I'm hoping I can get some answers here:
When using external Registry cache, how much data are we pushing up and pulling down? I can't get a sense of how much data transfer is involved. Does Buildkit output this data? HOw can we know if we want to use compression or not if we don't even know how much data we're transferring?
What is in the data that we send to Registry cache?
What is the difference between mode=min and mode=max?
Is there any advantage to using GHA cache over registry cache?
Is there a good convention for setting external cache ref in trunk based development? For example, do people generally use the branch name for ref? The PR name?
Suppose i have a multi-stage bake with two images A and B (B depends on A). If i am running docker buildx bake B, it's not clear to me how to properly define the external caching. For example, should it be something like:
docker buildx bake B \
-- set "A.cache-from=..." \
--set "A.cache-to=..." \
--set "B.cache-from=..." \
--set "B.cache-to=..."
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using external cache for builds in CI, and though I've read the docs, I still have questions. I'm hoping I can get some answers here:
mode=minandmode=max?refin trunk based development? For example, do people generally use the branch name for ref? The PR name?docker buildx bake B, it's not clear to me how to properly define the external caching. For example, should it be something like:Thanks!
Beta Was this translation helpful? Give feedback.
All reactions