Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libimage: pull: platform checks for non-local platform
After containers/podman/issues/10682, we decided to always re-pull images of non-local platforms and match *any* local image. Over time, we refined this logic to not *always* pull the image but only if there is a *newer* one. This has slightly changed the semantics and requires to perform platform checks when looking up a local image. Otherwise, bogus values would match a local image and mistakenly return it. Signed-off-by: Valentin Rothberg <[email protected]>
- Loading branch information