We have logic in our CI-CD that tags (via REST) staging image to latest
(if tests are successful). This worked on registry v1.
We now moved to v2 api, and I can't find documentation on how to "add" tags to existing image in registry. I'm in a step that can bring the "manifest" of some staging image, but not sure how to add tag and POST it via http.
I tried to send the following inputs:
"tag": "staging","latest",
"tag": ["staging","latest"],
and more
{
"schemaVersion": 1,
"name": "configservice",
"tag": "staging",
"architecture": "amd64",
"fsLayers": [...