Allow new pagination parameters for GitlabApiClient#tags
What does this MR do and why?
As part of &10208 (closed), we update ContainerRegistry::GitlabApiClient#tags
to:
- Accept the new parameters,
before
.name
, andsort
, to the function and pass them as part of the query when calling/gitlab/v1/repositories/#{path}/tags/list/
. - Ensure that the new link format (with
previous
) can be parsed when available
The new parameters and link header format can also be seen in the Container Registry API documentation.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #411265 (closed)