Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/functions/general/oci-oras.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down Expand Up @@ -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

Expand All @@ -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

Expand Down