Skip to content

Commit 0e03560

Browse files
authored
NO-JIRA: fix update-commit-latest-env.py to work with multiarch manifests (#2107)
``` ERROR: Skopeo command failed for quay.io/rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9@sha256:c0482a03d45fbe3a2acff4e9d583830d54324e939ba1bb19472af4f29d5e233f with exit code 1. ERROR: Stderr: time="2025-08-22T14:34:19+02:00" level=fatal msg="Error parsing manifest for image: choosing image instance: no image found in image index for architecture \"arm64\", variant \"v8\", OS \"darwin\"" ``` Needed to work with the quay.io/rhoai workbench images from rhds.
1 parent 5e3f999 commit 0e03560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/update-commit-latest-env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async def get_image_vcs_ref(image_url: str, semaphore: asyncio.Semaphore) -> tup
2828
full_image_url = f"docker://{image_url}"
2929

3030
# Use 'inspect --config' which is much faster as it only fetches the config blob.
31-
command = ["skopeo", "inspect", "--retry-times=5", "--config", full_image_url]
31+
command = ["skopeo", "inspect", "--override-os=linux", "--override-arch=amd64", "--retry-times=5", "--config", full_image_url]
3232

3333
logging.info(f"Starting config inspection for: {image_url}")
3434

0 commit comments

Comments
 (0)