Skip to content

Commit

Permalink
Preloading oras://ghcr.io images via CURL
Browse files Browse the repository at this point in the history
  • Loading branch information
maouw committed Oct 28, 2023
1 parent ab4522c commit 627e6f5
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 @@ -1076,7 +1076,7 @@ function cmd_create {
oras_cache_dir="${APPTAINER_CACHEDIR:-${HOME}/.apptainer/cache}/cache/oras"
if mkdir -p "${oras_cache_dir}"; then
log INFO "Preloading ORAS image for \"${HYAKVNC_APPTAINER_CONTAINER}\""
oras_image_path="$(ghcr_get_oras_sif "${HYAKVNC_APPTAINER_CONTAINER}" "${APPTAINER_CACHEDIR}/oras" || true)"
oras_image_path="$(ghcr_get_oras_sif "${HYAKVNC_APPTAINER_CONTAINER}" "${APPTAINER_CACHEDIR}/cache/oras" || true)"
else
log ERROR "Failed to create directory ${oras_cache_dir}."
fi
Expand Down

0 comments on commit 627e6f5

Please sign in to comment.