Skip to content

Commit 421e963

Browse files
committed
ORAS tools parameter deprecation: since v1.3 verbosity is by default
1 parent eebef46 commit 421e963

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/functions/general/oci-oras.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function oras_push_artifact_file() {
126126
declare upload_file_base_path upload_file_name
127127
display_alert "Pushing ${upload_file}" "ORAS to ${image_full_oci}" "info"
128128

129-
declare extra_params=("--verbose")
129+
declare extra_params=()
130130
oras_add_param_plain_http
131131
oras_add_param_insecure
132132
extra_params+=("--annotation" "org.opencontainers.image.description=${description}")
@@ -154,7 +154,7 @@ function oras_get_artifact_manifest() {
154154
declare image_full_oci="${1}" # Something like "ghcr.io/rpardini/armbian-git-shallow/kernel-git:latest"
155155
display_alert "Getting ORAS manifest" "ORAS manifest from ${image_full_oci}" "info"
156156

157-
declare extra_params=("--verbose")
157+
declare extra_params=()
158158
oras_add_param_plain_http
159159
oras_add_param_insecure
160160

@@ -179,7 +179,7 @@ function oras_pull_artifact_file() {
179179
declare target_dir="${2}" # temporary directory we'll use for the download to workaround oras being maniac
180180
declare target_fn="${3}"
181181

182-
declare extra_params=("--verbose")
182+
declare extra_params=()
183183
oras_add_param_plain_http
184184
oras_add_param_insecure
185185

0 commit comments

Comments
 (0)