Installing dragonfly as helm dependency?

Hi!
I’d like to install dragonfly as dependency of my chart.

I tried the following minimal example:

name: arc
apiVersion: v2
version: 0.1.0

dependencies:
  - name: dragonfly
    version: "1.3.0"
    repository: "oci://ghcr.io/dragonflydb/dragonfly/helm/dragonfly"

However, this leads to the following error, when trying to execute helm dep up:

Downloading dragonfly from repo oci://ghcr.io/dragonflydb/dragonfly/helm/dragonfly
Save error occurred:  could not download oci://ghcr.io/dragonflydb/dragonfly/helm/dragonfly/dragonfly: failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://ghcr.io/token?scope=repository%3Adragonflydb%2Fdragonfly%2Fhelm%2Fdragonfly%2Fdragonfly%3Apull&service=ghcr.io: 403 Forbidden
Error: could not download oci://ghcr.io/dragonflydb/dragonfly/helm/dragonfly/dragonfly: failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://ghcr.io/token?scope=repository%3Adragonflydb%2Fdragonfly%2Fhelm%2Fdragonfly%2Fdragonfly%3Apull&service=ghcr.io: 403 Forbidden

The strange thing is, that when I use helm directly, it works perfectly fine:

helm upgrade --install --create-namespace --namespace arc arc oci://ghcr.io/dragonflydb/dragonfly/helm/dragonfly --version v1.3.0
Pulled: ghcr.io/dragonflydb/dragonfly/helm/dragonfly:v1.3.0
Digest: sha256:3060fb6e5ac49e0dfcd5103e1f71e5d075a43722a054bc8b674592702b341ede
Release "arc" has been upgraded. Happy Helming!
NAME: arc
LAST DEPLOYED: Thu May 25 10:38:55 2023
NAMESPACE: arc
STATUS: deployed
REVISION: 2
TEST SUITE: None

Am I doing sth wrong?

i got it…

I was missing the v in the version, and the basename must be omitted in the depencies.
So this works :tada:

  - name: dragonfly
    version: "v1.3.0"
    repository: "oci://ghcr.io/dragonflydb/dragonfly/helm"

Sorry for missing your question @thoughtful-gazelle

glad to know you figured it out, Manu! Sorry for missing again!