aarbutina
(Aarbutina)
February 21, 2021, 11:03am
1
Hi everybody,
I’m experiencing problem described here Use Helm to publish chart packages to Docker Hub · Issue #135 · docker/roadmap · GitHub
Is there any workaround to be able to push Helm chart to DockerHub
$ export HELM_EXPERIMENTAL_OCI=1
$ helm create blueberry
Creating blueberry
$ helm chart save blueberry/ docker.io/jdolitsky/blueberry
ref: docker.io/jdolitsky/blueberry:0.1.0
digest: 28c467b21b3e00c5b44f39af3bc9a476459fa638b20d12dd00ef9ea1cc289607
size: 3.5 KiB
name: blueberry
version: 0.1.0
0.1.0: saved
$ helm chart list
REF NAME VERSION DIGEST SIZE CREATED
docker.io/jdolitsky/blueberry:0.1.0 blueberry 0.1.0 28c467b 3.5 KiB 4 seconds
$ helm chart push docker.io/jdolitsky/blueberry:0.1.0
The push refers to repository [docker.io/jdolitsky/blueberry]
ref: docker.io/jdolitsky/blueberry:0.1.0
digest: 59ee25b5e4823d594a86523ba76fd0d096574ac28f4576134bdc03c76fb2bf83
size: 3.5 KiB
name: blueberry
version: 0.1.0
Error: failed commit on ref "manifest-sha256:582dd85d48f085f1b705700a94ccdc00c4f60bb588ccba8a9e8487c6a83666b0": unexpected status: 403 Forbidden
pineay
(Ing. Andreas Rauchberger)
December 10, 2021, 2:15pm
2
HI,
did you get around this?
is it possible to push helmCharts to dockerHub?
thanks in advance
andi
rimelek
(Ákos Takács)
December 10, 2021, 5:06pm
3
I have not heard any announcement from Docker that they would support storing helm charts. The Docker Registry v2 (Docker distribution) supports helm charts but that doens’t mean Docker Hub will. It doesn’t have the interface for searching helm charts, at least I have never seen any sign of that.
Let’s say Docker Hub supports it without encourageing us to push helm charts into our repositories. The documentation of helm uses a different reference format for helm charts:
https://helm.sh/docs/topics/registries/
helm push mychart-0.1.0.tgz oci://localhost:5000/helm-charts
Notice that oci://
at the beginning of the URI.
Is there any reason you don’t want to use https://artifacthub.io/ ?
1 Like
pineay
(Ing. Andreas Rauchberger)
December 13, 2021, 6:54am
4
Hi Ákos,
thanks for your reply.
My reason was to have a private but still hosted repo for charts.
as far as i understood, artifacthub is only supporting public accessible chart uploads.
rimelek
(Ákos Takács)
December 13, 2021, 7:21am
5
Thank you for the answer. Could this help you to use GitHub as a private helm repository? Tutorial: Turning a GitHub Repo Into a Helm Chart Repo | Harness
I have never tried it so I am not sure it works in a private GitHub repository but if it does, it could be an alternative to Artifacthub
pineay
(Ing. Andreas Rauchberger)
December 13, 2021, 11:05am
6
Hi,
i have also seen this as an alternative to use GitHub-pages on a private repo as a helmRepo.
thanks