Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Info: Is there a way to list labels of an Image using kaniko cmd #2738

Open
pavankunadaharaju opened this issue Sep 8, 2023 · 1 comment
Labels
area/cli bugs related to kaniko CLI kind/question Further information is requested needs-follow-up priority/p3 agreed that this would be good to have, but no one is available at the moment.

Comments

@pavankunadaharaju
Copy link

I am looking for a way to list the labels of an Image using Kaniko cmd, wanted to know if there is a way to do it?

@aaron-prindle
Copy link
Collaborator

aaron-prindle commented Sep 20, 2023

@pavankunadaharaju can add more detail on what you mean by:

list the labels of an Image using Kaniko cmd

Would this be a standalone-command/use-case in which kaniko is used to pull down an image and simply list the labels, part of the debug output from a kaniko build run or something else?

I am not 100% from the context provided but the crane tool might be what you are looking for as it can list the labels of an Image and uses similar underlying libraries as kaniko:
https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane.md

@aaron-prindle aaron-prindle added kind/question Further information is requested needs-follow-up priority/p3 agreed that this would be good to have, but no one is available at the moment. area/cli bugs related to kaniko CLI labels Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli bugs related to kaniko CLI kind/question Further information is requested needs-follow-up priority/p3 agreed that this would be good to have, but no one is available at the moment.
Projects
None yet
Development

No branches or pull requests

2 participants