mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-09-30 17:30:51 +02:00
@@ -236,7 +236,10 @@ func DoPush(image v1.Image, opts *config.KanikoOptions) error {
|
||||
for _, destRef := range destRefs {
|
||||
tagToImage[destRef] = image
|
||||
}
|
||||
return tarball.MultiWriteToFile(opts.TarPath, tagToImage)
|
||||
err := tarball.MultiWriteToFile(opts.TarPath, tagToImage)
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "writing tarball to file failed")
|
||||
}
|
||||
}
|
||||
|
||||
if opts.NoPush {
|
||||
|
||||
Reference in New Issue
Block a user