Skip to content

Commit

Permalink
fix: composing oras args in create-pyxis-image
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mmalina committed Oct 25, 2024
1 parent 23b9b68 commit 92c0e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/create-pyxis-image/create-pyxis-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 92c0e67

Please sign in to comment.