Skip to content

Commit

Permalink
fix: tarball unbound variable error if zero tags provided
Browse files Browse the repository at this point in the history
  • Loading branch information
thesayyn committed Nov 15, 2023
1 parent f359d99 commit 9ad244b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oci/private/tarball.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ for LAYER in $(${YQ} ".[]" <<< $LAYERS); do
cp_f_with_mkdir "${IMAGE_DIR}/blobs/${LAYER}" "${BLOBS_DIR}/${LAYER}.tar.gz"
done

repo_tags="${REPOTAGS[@]}" \
repo_tags="${REPOTAGS[@]+"${REPOTAGS[@]}"}" \
config="blobs/${CONFIG_DIGEST}" \
layers="${LAYERS}" \
"${YQ}" eval \
Expand Down

0 comments on commit 9ad244b

Please sign in to comment.