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

fix: podman manifest annotate help example should use image digest #18351

Merged

Conversation

yanfeng1992
Copy link
Contributor

@yanfeng1992 yanfeng1992 commented Apr 26, 2023

Does this PR introduce a user-facing change?

The podman manifest annote does not support the use of image tags. When tags are used, digest.Parse(image) will fail, but the examples in the help use tags, which will mislead users. I think the examples in the help should be changed to sha256:15352d97781ffdf357bf3459c037be3efac4133dc9070c2dce7eca7c05c3e736

 Podman manifest annotate help example should use image digest

@yanfeng1992 yanfeng1992 force-pushed the ManifestAnotateHelp branch 3 times, most recently from fdbc548 to b7c81d8 Compare April 26, 2023 02:38
@yanfeng1992 yanfeng1992 changed the title podman manifest annotate help example should use image with digest podman manifest annotate help example should use image digest Apr 26, 2023
@yanfeng1992 yanfeng1992 changed the title podman manifest annotate help example should use image digest fix: podman manifest annotate help example should use image digest Apr 26, 2023
@yanfeng1992
Copy link
Contributor Author

yanfeng1992 commented Apr 26, 2023

@vrothberg

[NO NEW TESTS NEEDED]
Signed-off-by: huangyanfeng <[email protected]>
@yanfeng1992 yanfeng1992 force-pushed the ManifestAnotateHelp branch from b7c81d8 to e95e9be Compare April 26, 2023 03:16
Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I am not familiar with the manifest code but the man page says only digest and our tests also only use the digest so this looks correct to me.

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 26, 2023
@rhatdan
Copy link
Member

rhatdan commented Apr 26, 2023

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 26, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 26, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Luap99, rhatdan, yanfeng1992

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 0277adf into containers:main Apr 26, 2023
@yanfeng1992 yanfeng1992 deleted the ManifestAnotateHelp branch April 27, 2023 02:18
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Aug 26, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. release-note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants