ORAS tools parameter deprecation: since v1.3 verbosity is by default

This commit is contained in:
Igor Pecovnik
2025-09-28 06:13:18 +02:00
committed by Igor
parent 7828980921
commit 68a98a6f7f

View File

@@ -126,7 +126,7 @@ function oras_push_artifact_file() {
declare upload_file_base_path upload_file_name
display_alert "Pushing ${upload_file}" "ORAS to ${image_full_oci}" "info"
declare extra_params=("--verbose")
declare extra_params=()
oras_add_param_plain_http
oras_add_param_insecure
extra_params+=("--annotation" "org.opencontainers.image.description=${description}")
@@ -154,7 +154,7 @@ function oras_get_artifact_manifest() {
declare image_full_oci="${1}" # Something like "ghcr.io/rpardini/armbian-git-shallow/kernel-git:latest"
display_alert "Getting ORAS manifest" "ORAS manifest from ${image_full_oci}" "info"
declare extra_params=("--verbose")
declare extra_params=()
oras_add_param_plain_http
oras_add_param_insecure
@@ -179,7 +179,7 @@ function oras_pull_artifact_file() {
declare target_dir="${2}" # temporary directory we'll use for the download to workaround oras being maniac
declare target_fn="${3}"
declare extra_params=("--verbose")
declare extra_params=()
oras_add_param_plain_http
oras_add_param_insecure