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: the Image.Id should contain sha256: prefix when listing image Id #7009

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

benoitf
Copy link
Collaborator

@benoitf benoitf commented Apr 29, 2024

What does this PR do?

To be compliant with compat API, the image Id needs to be prefixed (with podman it's not prefixed)

Screenshot / video of UI

What issues does this PR fix or reference?

fixes #6974

How to test this PR?

  • Tests are covering the bug fix or the new feature

To be compliant with compat API image needs to be prefixed

fixes containers#6974

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
@benoitf benoitf requested a review from a team as a code owner April 29, 2024 18:56
@benoitf benoitf requested review from dgolovin and lstocchi and removed request for a team April 29, 2024 18:56
@cdrage
Copy link
Contributor

cdrage commented Apr 29, 2024

Screen.Recording.2024-04-29.at.3.06.37.PM.mov

So I checked this pretty thoroughly against an extension that uses image inspect, etc and it worked completely fine.

Had no issues doing multi-arch builds (it showed up in podman image ls and I could also do podman manifest inspect).

Thanks for noticing we need sha256 here!

LGTM!

@benoitf benoitf merged commit 9e4f42f into containers:main Apr 30, 2024
8 checks passed
@benoitf benoitf deleted the DESKTOP-6974 branch April 30, 2024 07:37
@podman-desktop-bot podman-desktop-bot added this to the 1.11.0 milestone Apr 30, 2024
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.

Images that are in use are still shown as unused in images page
4 participants