|
|
@ -30,7 +30,6 @@ import (
|
|
|
|
// It provides the implementation of 'helm push'.
|
|
|
|
// It provides the implementation of 'helm push'.
|
|
|
|
type Push struct {
|
|
|
|
type Push struct {
|
|
|
|
Settings *cli.EnvSettings
|
|
|
|
Settings *cli.EnvSettings
|
|
|
|
WithProv bool
|
|
|
|
|
|
|
|
cfg *action.Configuration
|
|
|
|
cfg *action.Configuration
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -60,9 +59,7 @@ func (p *Push) Run(chartRef string, remote string) (string, error) {
|
|
|
|
c := uploader.ChartUploader{
|
|
|
|
c := uploader.ChartUploader{
|
|
|
|
Out: &out,
|
|
|
|
Out: &out,
|
|
|
|
Pushers: pusher.All(p.Settings),
|
|
|
|
Pushers: pusher.All(p.Settings),
|
|
|
|
Options: []pusher.Option{
|
|
|
|
Options: []pusher.Option{},
|
|
|
|
pusher.WithProvenance(p.WithProv),
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if strings.HasPrefix(remote, "oci://") {
|
|
|
|
if strings.HasPrefix(remote, "oci://") {
|
|
|
|