[helm-3.18.0] Duplicated upload when using helm cli to upload an image.
- Dominant language
- Go
- Stars
- 30.2k
- Forks
- 7.8k
- Avg merge
- 20h 58m
- Merged PRs (30d)
- 36
Description
when using helmOCI client to upload package with tag, its uploading it twice - once with the tag and another time with the SHA
scenario to reproduce:
1. helm registry login -u myUser -p myPassword myartifactory.com
2. helm create busybox
3. helm package busybox --version 100.100.100
4. helm push busybox-100.100.100.tgz oci://myartifactory.com/sobhe
PUT /api/docker/sobhe/v2/busybox/manifests/sha256:065fa59542e3d2ce4006241e41069e387eb0958235cdec165f9ceaf334228ffd -> 201
PUT /api/docker/sobhe/v2/busybox/manifests/100.100.100 -> 201
----the main point here is: "you guys push the same manifest twice, once by tag and once by digest"

all of this is not happening on the previous versions like 3.17.3
Contributor guide
Assessment
This issue has not been assessed yet.