Signed-off-by: George Jenkins <gvjenkins@gmail.com>
pull/13376/head
George Jenkins 1 month ago
parent 02ef83fe28
commit f5fcae8356

@ -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),
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)
pushOpts = append(pushOpts, registry.PushOptCreationTime(chartArchiveFileCreatedTime.Format(time.RFC3339)))

Loading…
Cancel
Save