make it build

This commit is contained in:
Sas Swart 2025-01-14 14:53:42 +00:00
commit 86653d59e4

View file

@ -473,7 +473,7 @@ func runCacheProbe(ctx context.Context, builderImage string, opts eboptions.Opti
return nil, fmt.Errorf("failed to create kaniko dir: %w", err)
}
// Use the temporary directory as our 'magic dir'.
opts.MagicDirBase = tmpKanikoDir
opts.WorkingDirBase = tmpKanikoDir
// In order to correctly reproduce the final layer of the cached image, we
// need the envbuilder binary used to originally build the image!