Skip to content

Add option to map digest to tag #214

@adriananeci

Description

@adriananeci

Is there a way to map a digest to a tag?
Given an image for which we know its digest, I would like to map it to its corresponding tag.

The easiest way I found is to use manifest section from tags/list output , e.g:

curl -s https://k8s.gcr.io/v2/kube-apiserver/tags/list | jq '.manifest["sha256:ffdc2f826e3de98608d7e9b41ca0015ec45f066687491142d18a2879fb4a0c22"].tag'

[
  "v1.17.13"
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions