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

name: Add tag.WithDigest. #1959

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

name: Add tag.WithDigest. #1959

wants to merge 1 commit into from

Conversation

wlynch
Copy link
Contributor

@wlynch wlynch commented Jun 12, 2024

Adds a new function to tags to allow appending a digest to the string output. This allows users to output strings of the form repo:tag@digest, which can often be used to display concise tag + digest strings.

NOTE: Most clients parsing this string will ignore the tag in favor of the digest (though there are a few exceptions like dependabot that will place meaning in the tag). This is still useful for displaying resolved tags to humans.

Adds a new function to tags to allow appending a digest to the string
output. This allows users to output strings of the form
`repo:tag@digest`, which can often be used to display concise tag +
digest strings.

NOTE: Most clients parsing this string will ignore the tag in favor of the
digest (though there are a few exceptions like dependabot that will
place meaning in the tag). This is still useful for displaying resolved
tags to humans.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant