Closed johnstcn closed 3 months ago
To support multi-stage cache probes, we'll need a way to deduce the hash of dependencies between stages when operating in cache probe-mode.
Some ideas off the top of my head:
os
and reads files directly, this will fail unless the previous stage has been extractedI'm open to better ideas here.
https://github.com/coder/kaniko/pull/12 added support for performing a 'fake' build (e.g. ProbeCache)
However, this does not appear to work with multi-stage builds (https://github.com/coder/kaniko/pull/12#issuecomment-2160534514)
Add support for multi-stage builds. This will require changes to our Kaniko fork.