in experimental/tag.go [26:44]
func (t *tagData) mark(blobs blobsData) error {
if t.current.valid() {
t.repository.markManifest(t.current)
}
for _, version := range t.versions {
if version == t.current {
continue
}
if *deleteOldTagVersions {
continue
}
t.repository.markManifest(version)
}
return nil
}