Skip to content

Commit

Permalink
[ubuntu] Update ORAS URL (actions#3516)
Browse files Browse the repository at this point in the history
  • Loading branch information
fdelamor authored Jun 3, 2021
1 parent 2823a3c commit fa8469a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images/linux/scripts/installers/oras-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
source $HELPER_SCRIPTS/install.sh

# Determine latest ORAS CLI version
ORAS_CLI_LATEST_VERSION_URL=https://api.github.com/repos/deislabs/oras/releases/latest
ORAS_CLI_DOWNLOAD_URL=$(curl -s $ORAS_CLI_LATEST_VERSION_URL | jq -r '.assets[].browser_download_url | select(endswith("linux_amd64.tar.gz"))')
ORAS_CLI_LATEST_VERSION_URL=https://api.github.com/repos/oras-project/oras/releases/latest
ORAS_CLI_DOWNLOAD_URL=$(curl -sfL $ORAS_CLI_LATEST_VERSION_URL | jq -r '.assets[].browser_download_url | select(endswith("linux_amd64.tar.gz"))')
ORAS_CLI_ARCHIVE=$(basename $ORAS_CLI_DOWNLOAD_URL)

# Install ORAS CLI
Expand Down

0 comments on commit fa8469a

Please sign in to comment.