From 6a717ea2785066824b82644aeb9d5790baf88746 Mon Sep 17 00:00:00 2001 From: Nizamudeen A Date: Tue, 12 Nov 2024 11:00:06 +0530 Subject: [PATCH] sync-images: sync all images including their different aarch The sync is not syncing the different architectures supported by the images atleast for grafana. And hence only the amd64 gets mirrored to the quay repo and causes issues to arm64 builds. I saw that skopeo supports an `--all` opton that copies every aarch. Refer: https://github.com/containers/skopeo/blob/main/docs/skopeo-sync.1.md#options Fixes: https://tracker.ceph.com/issues/68627 Signed-off-by: Nizamudeen A --- sync-images/build/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync-images/build/build b/sync-images/build/build index 0fbbbf87..89d108de 100644 --- a/sync-images/build/build +++ b/sync-images/build/build @@ -15,4 +15,4 @@ docker.io: EOF # make sure we pull the last stable image podman pull quay.io/skopeo/stable -podman run --rm --security-opt label=disable -v ./sync.yml:/sync.yml:ro quay.io/skopeo/stable sync --src yaml --dest docker /sync.yml "${DEST_REGISTRY}" --dest-username "${DEST_USERNAME}" --dest-password "${DEST_PASSWORD}" +podman run --rm --security-opt label=disable -v ./sync.yml:/sync.yml:ro quay.io/skopeo/stable sync --all --src yaml --dest docker /sync.yml "${DEST_REGISTRY}" --dest-username "${DEST_USERNAME}" --dest-password "${DEST_PASSWORD}" -- 2.47.3