Insufficient_scope while trying to push helm chart to Gitlab Registry

I am using Gitlab.org to build CI/CD pipelines. I am also using Azure Kubernetes Service.

I created helm charts and tried to push them to Gitlab Registry. But it gives me the error below even if it successfuly login to registry.

Error: server message: insufficient_scope: authorization failed

image

I read that Gitlab supports OCI Registry but I could not find any solutions how to push helm charts to gitlab registry.