This commit is contained in:
EladAviczer 2025-06-04 00:02:12 +05:00 committed by GitHub
commit 9952812a57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -454,6 +454,7 @@ func resolveRelativePaths() error {
&opts.DigestFile,
&opts.ImageNameDigestFile,
&opts.ImageNameTagDigestFile,
&opts.OCILayoutPath,
}
for _, p := range optsPaths {

View File

@ -204,7 +204,7 @@ func DoPush(image v1.Image, opts *config.KanikoOptions) error {
return errors.Wrap(err, "appending image")
}
}
if opts.NoPush && len(opts.Destinations) == 0 {
if opts.TarPath != "" {
setDummyDestinations(opts)