diff --git a/oci/private/tarball.sh.tpl b/oci/private/tarball.sh.tpl index deb3ef47..2b5052f4 100644 --- a/oci/private/tarball.sh.tpl +++ b/oci/private/tarball.sh.tpl @@ -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 \