|
|
@ -90,7 +90,7 @@ func (pusher *OCIPusher) push(chartRef, href string) error {
|
|
|
|
path.Join(strings.TrimPrefix(href, fmt.Sprintf("%s://", registry.OCIScheme)), meta.Metadata.Name),
|
|
|
|
path.Join(strings.TrimPrefix(href, fmt.Sprintf("%s://", registry.OCIScheme)), meta.Metadata.Name),
|
|
|
|
meta.Metadata.Version)
|
|
|
|
meta.Metadata.Version)
|
|
|
|
|
|
|
|
|
|
|
|
// The time the chart was "created" is semantically the time the chart archive file was last written
|
|
|
|
// The time the chart was "created" is semantically the time the chart archive file was last written(modified)
|
|
|
|
chartArchiveFileCreatedTime := ctime.Modified(stat)
|
|
|
|
chartArchiveFileCreatedTime := ctime.Modified(stat)
|
|
|
|
pushOpts = append(pushOpts, registry.PushOptCreationTime(chartArchiveFileCreatedTime.Format(time.RFC3339)))
|
|
|
|
pushOpts = append(pushOpts, registry.PushOptCreationTime(chartArchiveFileCreatedTime.Format(time.RFC3339)))
|
|
|
|
|
|
|
|
|
|
|
|