How to use Red Hat Quay API to add an additional tag to a remote container image knowing only its preexisting tag

Solution Verified - Updated -

Issue

  • An additional tag needs to be added to a remote container image hosted on a Red Hat Quay container registry, but only a preexisting image tag is known to select the image
  • Red Hat Quay API call changeTag doesn't accept tag as input parameter, but only image_id or manifest_digest

Environment

  • Red Hat Quay
    • 3.6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content