How to get gitlab registry image tags in ci?

I’m trying something like this
curl -X GET -H "Authorization: Bearer $CI_BUILD_TOKEN" https://registry.gitlab.com/v2/$CI_PROJECT_PATH/tags/list

1 Like

Did you find an answer to this? I tried the same and get unauthorized.