From 92c0e67ec5d3f152bae44a91af80866f1d428797 Mon Sep 17 00:00:00 2001 From: Martin Malina Date: Fri, 25 Oct 2024 20:48:53 +0530 Subject: [PATCH] fix: composing oras args in create-pyxis-image This line was just modified earlier today to fix the os and arch variables. But it is still wrong - you want the name of argument and the actual value separate, otherwise the whole thing will be used as one parameter. Since it's still the same line and the changelog entry still applies to this, I don't think I need to bump the version again. Signed-off-by: Martin Malina --- tasks/create-pyxis-image/create-pyxis-image.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/create-pyxis-image/create-pyxis-image.yaml b/tasks/create-pyxis-image/create-pyxis-image.yaml index 499bd9217..9dc751a1f 100644 --- a/tasks/create-pyxis-image/create-pyxis-image.yaml +++ b/tasks/create-pyxis-image/create-pyxis-image.yaml @@ -153,7 +153,7 @@ spec: ORAS_ARGS=() if [[ "$MEDIA_TYPE" == "application/vnd.docker.distribution.manifest.list.v2+json" ]]\ || [[ "$MEDIA_TYPE" == "application/vnd.oci.image.index.v1+json" ]]; then - ORAS_ARGS+=("--platform $OS/$ARCH") + ORAS_ARGS+=(--platform "$OS/$ARCH") fi oras manifest fetch \