Container registry API: Allow tags to be managed with CI_JOB_TOKEN
I wanted to use this feature for cleaning up temporary Docker images that have just the lifetime of a CI run. However, it turns out that tags cannot be removed by simply using the CI_JOB_TOKEN. Instead I would need to have create an access token and pass this as CI variable to be able to call this API from within the CI jobs.
As an alternative it would be nice to just declare the Docker image tag as kind of job artifact with configurable expiration time. Any plans for that?
Furthermore, it turned out that similarly like the UI that deleting a tag is not only deleting the tag but any other tags referencing to the same image. I know that this is a deficiency of the Docker registry but it should be worth noted in capital letters.
Edited by Tim Rizzi