helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

fix: Push charts to GHCR requires login

Open mkilchhofer opened this issue 4 months ago • 4 comments

Resolves #2481

OCI chart push was introduced by @jkroepke here:

  • https://github.com/grafana/helm-charts/issues/2395
  • https://github.com/grafana/helm-charts/pull/2443
  • https://github.com/grafana/helm-charts/pull/2474

But it fails due to missing docker login to GHCR.

I am a Argo helm maintainer and we use almost the identical code: https://github.com/argoproj/argo-helm/blob/fa85e824f014ef7bf19163d4ecf7e9b8eb01f6b9/.github/workflows/publish.yml#L67C15-L82

/cc: @zanhsieh as you merged @jkroepke PRs in the past

mkilchhofer avatar Feb 27 '24 19:02 mkilchhofer

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Feb 27 '24 19:02 CLAassistant

But it fails due to missing docker login to GHCR.

Bruh, really? Thanks for finding this! I overlooked this. Of couse, we have the same code at kube-prometheus-stack, too.

https://github.com/prometheus-community/helm-charts/blob/88472183482b6b7e50a97df2c8286c7ede199eb3/.github/workflows/release.yaml#L45-L61

jkroepke avatar Feb 27 '24 19:02 jkroepke

Bruh, really?

yaaaa 🥳 😄

mkilchhofer avatar Feb 27 '24 19:02 mkilchhofer

@micahhausler Now this repo required at least two approvers to merge by Grafana.

zanhsieh avatar Mar 01 '24 22:03 zanhsieh

Any updates here? I'm really interested in OCI Charts :)

PlayMTL avatar Mar 12 '24 12:03 PlayMTL

Same here, would love to be able to pull the charts through OCI directly so I can test the helm charts within kustomize when using flux/argocd :)

benoitschipper avatar Mar 12 '24 21:03 benoitschipper

@Xtigyro @zalegrala Can someone of you please take a look here?

jkroepke avatar Mar 12 '24 22:03 jkroepke

Ping @krajorama @dimitarvdimitrov @MichelHollands

mkilchhofer avatar Apr 05 '24 10:04 mkilchhofer

any update on this? :pray:

meysam81 avatar Apr 06 '24 01:04 meysam81

Great Success! 🚀

benoitschipper avatar Apr 08 '24 11:04 benoitschipper