Currently, the ci/lint_imagefile
may pick the wrong (non-native) architecture due to the missing prefix.
For example, assuming the user has previously pulled an s390x image:
0$ podman run --rm 'docker.io/s390x/debian:bookworm' dpkg --print-architecture
1exec /usr/bin/dpkg: exec format error
Now, debian:bookworm
will refer to the same image:
0$ podman run --rm 'debian:bookworm' dpkg --print-architecture
1exec /usr/bin/dpkg: exec format error
However, docker.io/debian:bookworm
works fine:
0 $ podman run --rm 'docker.io/debian:bookworm' dpkg --print-architecture
1arm64
(Also includes a nit-fix from #30499 (review))