mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-01 04:42:00 +02:00
This change refactors the build loop a bit to make cache optimization easier in the future. Some notable changes: The special casing around volume snapshots is removed. Every volume is added to the snapshotFiles list for every command that will snapshot anyway. Snapshot saving was extracted to a sub-function The decision on whether or not to snapshot was extracted