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
My use-case is: I am trying to utilize new BuildKit caching capabilities in my CI pipeline to speed things up and if I am able to export 2 caches for a single Dockerfile stage (like one tagged/named as latest and other one as GITHUB_SHA or branch_name) then I think I can maximize the cache hit ratio for a lot of different scenarios. Basically a CI job for a fresh PR would first use the latest cache but on subsequent re-runs of the same job would be able to use GITHUB_SHA/branch_name one since using multiple cache-from is allowed already.
The text was updated successfully, but these errors were encountered:
Hello. I've noticed that specifying multiple
--cache-to
values in adocker buildx build
command is not supported directly. Found this comment: https://github.com/moby/buildkit/blob/master/control/control.go#L283 and this convo #615 (comment). Is this stillfairly easy to have
or is there no plan supporting it in the near future?My use-case is: I am trying to utilize new BuildKit caching capabilities in my CI pipeline to speed things up and if I am able to export 2 caches for a single Dockerfile stage (like one tagged/named as
latest
and other one asGITHUB_SHA
orbranch_name
) then I think I can maximize the cache hit ratio for a lot of different scenarios. Basically a CI job for a fresh PR would first use thelatest
cache but on subsequent re-runs of the same job would be able to useGITHUB_SHA
/branch_name
one since using multiplecache-from
is allowed already.The text was updated successfully, but these errors were encountered: