How to fetch latest package version (Generic Packages Repository)

I just started to use the GitLab Generic Packages Repository.

Publishing and downloading work fine as documented

However, is there an easy way go get the latest version of a package? Or at least to list all versions of a package using the API?


curl --header "PRIVATE-TOKEN: <your_access_token>" \

If not, how can Continuous Deployment (CD) be achieved using the Generic Packages Repository?

I found a way to list all versions of a packge:

curl --header "PRIVATE-TOKEN: <API-TOKEN>" ""

Unfortunately, this only works with API-Tokens, and not with Deploy-Tokens.

In my case, I can’t allow complete API access to all users and nodes where a new version should be deployed at :frowning:

Is something like a latest version tag planed for generic packages?

Anyone care to elaborate why isn’t possible to use CI-JOB Token and Deploy-Token to authenticate with this endpoint?

Also interested in latest version tag feature.