Expose the GitLab registry’s /tags/list endpoint
As described by customer:
During a CI build (Jenkins 2.0, using Jenkinsfile), before adding a version tag to the Docker image I am building and pushing the new image to the Gitlab registry, I would like to get a list of all image tags from the Gitlab registry to confirm the version tag has not already been pushed.
This would ultimately help with dev productivity so that developers don’t have to context switch and navigate within the web UI or between tools in order to find the available tags for any given project.
Expose the GitLab registry’s /tags/list endpoint. Customer has tried using
curl to achieve this but is unable to authenticate due to JWT.