Skip to content

Skopeo multi-arch issue#873

Open
shivakunv wants to merge 2 commits into
mainfrom
skopeo-multiarch-issue
Open

Skopeo multi-arch issue#873
shivakunv wants to merge 2 commits into
mainfrom
skopeo-multiarch-issue

Conversation

@shivakunv

@shivakunv shivakunv commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

issue: oci-archive: silently drops arm64 manifests , while oci: (directory) with --all preserves the full amd64+arm64 OCI index.

podman-container-tools/skopeo#2463
The oci-archive:/oci: transports only support some shapes of indices / manifests — as a guess, a multi-platform image directly stored in the OCI format as a top-level index is not supported; it needs to be an index which contains a nested multi-platform image index.

Solution :
Replace skopeo copy oci-archive:file.tar with tar -xf + skopeo copy --all oci:dir to correctly publish multi-arch images.

https://github.com/containers/skopeo/blob/main/docs/skopeo-copy.1.md

--all: If source-image refers to a list of images, instead of copying just the image which matches the current OS and architecture (subject to the use of the global --override-os, --override-arch and --override-variant options), attempt to copy all of the images in the list, and the list itself.

@shivakunv shivakunv changed the title Skopeo multiarch issue Skopeo multi-arch issue Jul 20, 2026
@shivakunv
shivakunv force-pushed the skopeo-multiarch-issue branch from 3f52a33 to 038fdbf Compare July 20, 2026 09:21
…stead of oci-archive

Signed-off-by: Shiva Kumar (SW-CLOUD) <shivaku@nvidia.com>
@shivakunv
shivakunv force-pushed the skopeo-multiarch-issue branch 2 times, most recently from bd39db6 to ffc8d93 Compare July 21, 2026 06:12
…stead of oci-archive

Signed-off-by: Shiva Kumar (SW-CLOUD) <shivaku@nvidia.com>

Fix[precompiled-arm]: Use oci: directory transport with --all flag instead of oci-archive

Signed-off-by: Shiva Kumar (SW-CLOUD) <shivaku@nvidia.com>
@shivakunv
shivakunv force-pushed the skopeo-multiarch-issue branch from ffc8d93 to dc84491 Compare July 21, 2026 06:14
@shivakunv
shivakunv marked this pull request as ready for review July 21, 2026 06:15
@shivakunv shivakunv linked an issue Jul 22, 2026 that may be closed by this pull request
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.

Skopeo multi-arch publish issue

1 participant