From 5a92cfc1a012bb3a61c1b411bc22d0b34a7bed5f Mon Sep 17 00:00:00 2001 From: Suyash Saluja Date: Thu, 14 Jul 2022 20:58:42 +0530 Subject: [PATCH] Reverting ORAS CLI to version 0.12 (#5907) --- images/linux/scripts/installers/oras-cli.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/images/linux/scripts/installers/oras-cli.sh b/images/linux/scripts/installers/oras-cli.sh index 5db36a9a..44c1b82b 100644 --- a/images/linux/scripts/installers/oras-cli.sh +++ b/images/linux/scripts/installers/oras-cli.sh @@ -6,8 +6,8 @@ source $HELPER_SCRIPTS/install.sh -# Determine latest ORAS CLI version -ORAS_CLI_DOWNLOAD_URL=$(get_github_package_download_url "oras-project/oras" "endswith(\"linux_amd64.tar.gz\")") +# Download ORAS CLI version 0.12 since it is the version compatible with GHCR (Tracking issue to fix CLI for GHCR login https://github.com/oras-project/oras/issues/446) +ORAS_CLI_DOWNLOAD_URL=$(get_github_package_download_url "oras-project/oras" "endswith(\"linux_amd64.tar.gz\")" "0.12.0") ORAS_CLI_ARCHIVE=$(basename $ORAS_CLI_DOWNLOAD_URL) # Install ORAS CLI