Update Podman go package#89
Merged
Merged
Conversation
Updates module paths from: github.com/containers/podman/v5 -> go.podman.io/podman/v6 github.com/containers/common -> go.podman.io/common. Assisted-by: AI Signed-off-by: Alice Frosi <afrosi@redhat.com>
Update import paths in all source files from github.com/containers/podman/v5 to go.podman.io/podman/v6 and github.com/containers/common to go.podman.io/common. Assisted-by: AI Signed-off-by: Alice Frosi <afrosi@redhat.com>
Run go mod tidy. Signed-off-by: Alice Frosi <afrosi@redhat.com>
On the CI the registries.conf in v1 format. Since we update the go binding for podman, podman bindings reject v1 for any image operation, causing EnsureImage calls to fail. Assisted-by: AI Signed-off-by: Alice Frosi <afrosi@redhat.com>
Collaborator
Author
|
@Johan-Liebert1 PTAL |
Collaborator
|
Does this require the remote to also be on Podman v6? Or is it compatible with v5 remotes? |
Johan-Liebert1
approved these changes
Jul 3, 2026
Johan-Liebert1
left a comment
Collaborator
There was a problem hiding this comment.
Changes look good
Collaborator
Author
From the go doc, it seems that the minimal supported version is 4.0.0. Additionally, on our CI we are even using podman 4.9.3 |
jlebon
approved these changes
Jul 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Manually update the podman package from v5 to v6. Podman package has change the import path and the automatic update fails. See #84