Skip to content

Add API project registry endpoint

username-removed-107233 requested to merge ebuildy/gitlab-ce:master into master

What does this MR do?

Add an API endpoint to get project (Docker) registry information path and tags.

Are there points in the code the reviewer needs to double check?

Maybe "disable" the endpoint if there is no registry setup ?

Why was this MR needed?

Because we need to know what images are in our Docker registry. For now, Gitlab oauth doesnot provide catalog scope, so it's impossible to browse Docker registry /v2/_catalog API :-(

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/26763

Merge request reports

Loading