mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-19 10:19:51 +02:00
Renamed to --oci-layout-path and added a unit test.
This commit is contained in:
@@ -102,8 +102,8 @@ func DoPush(image v1.Image, opts *config.KanikoOptions) error {
|
||||
}
|
||||
}
|
||||
|
||||
if opts.LayoutPath != "" {
|
||||
path, err := layout.Write(opts.LayoutPath, empty.Index)
|
||||
if opts.OCILayoutPath != "" {
|
||||
path, err := layout.Write(opts.OCILayoutPath, empty.Index)
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "writing empty layout")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user