From 907e9a0f30d88d9639a4413a52e9bf837b720fa8 Mon Sep 17 00:00:00 2001 From: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com> Date: Fri, 15 Jul 2022 14:38:14 +0400 Subject: [PATCH] Revert "Reverting ORAS CLI to version 0.12 (#5907)" (#5914) This reverts commit 5a92cfc1a012bb3a61c1b411bc22d0b34a7bed5f. --- 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 44c1b82b0..5db36a9a8 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 -# 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") +# Determine latest ORAS CLI version +ORAS_CLI_DOWNLOAD_URL=$(get_github_package_download_url "oras-project/oras" "endswith(\"linux_amd64.tar.gz\")") ORAS_CLI_ARCHIVE=$(basename $ORAS_CLI_DOWNLOAD_URL) # Install ORAS CLI