Merge pull request #1194 from dibir-magomedsaygitov/v-dimago/add_oras_cli

[Ubuntu] Add ORAS CLI
This commit is contained in:
Maxim Lobanov
2020-07-08 18:49:41 +03:00
committed by GitHub
5 changed files with 35 additions and 2 deletions

View File

@@ -14,9 +14,9 @@ download_with_retries() {
local COMPRESSED="$4"
if [ $COMPRESSED == "compressed" ]; then
COMMAND="curl $URL -4 -s --compressed -o '$DEST/$NAME'"
COMMAND="curl $URL -4 -sL --compressed -o '$DEST/$NAME'"
else
COMMAND="curl $URL -4 -s -o '$DEST/$NAME'"
COMMAND="curl $URL -4 -sL -o '$DEST/$NAME'"
fi
echo "Downloading $URL..."