Skip to content

Commit

Permalink
Updated oras cache
Browse files Browse the repository at this point in the history
  • Loading branch information
maouw committed Nov 8, 2023
1 parent 22830af commit f7a7923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyakvnc
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ function ghcr_get_oras_sif {
# Download the image:
local image_url
image_url="https://ghcr.io/v2/${repo}/blobs/${image_sha256}"
curl -fSL -H "Authorization: Bearer ${repo_token}" -o "${output_path}" "${image_url}" || {
curl --progress -fSL -H "Authorization: Bearer ${repo_token}" -o "${output_path}" "${image_url}" || {
log ERROR "Failed to download image from ${image_url} to ${output_path}"
rm -f "${output_path}" && log DEBUG "Removed output file at ${output_path}" # Remove the file if it exists
return 1
Expand Down

0 comments on commit f7a7923

Please sign in to comment.