-
I would like to get only parts of the
What is the syntax to split this up and get only parts of it, like org.opencontainers.image.version? |
Beta Was this translation helpful? Give feedback.
Answered by
crazy-max
Sep 16, 2023
Replies: 1 comment 2 replies
-
It's using go templates and |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
NLZ
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's using go templates and
Labels
is a map so you can use{{index .Entry.Manifest.Labels "org.opencontainers.image.version"}}
More info https://pkg.go.dev/text/template#hdr-Functions