helm / helm/helm

[helm-3.18.0] Duplicated upload when using helm cli to upload an image.

Open
#30,911 13 comments 0 reactions 1 assignee Claimed by @mattfarina View on GitHub
feature
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"

![Image](https://github.com/user-attachments/assets/ad2be24a-b434-46b0-ae78-dd005d380622)
all of this is not happening on the previous versions like 3.17.3

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.