From: Nizamudeen A Date: Tue, 12 Nov 2024 05:30:06 +0000 (+0530) Subject: sync-images: sync all images including their different aarch X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2290%2Fhead;p=ceph-build.git 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 --- 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}"