action: IMAGE_TYPE

This commit is contained in:
zenobit 2025-03-03 15:01:14 +01:00
parent 4ea7ba3e45
commit 64c68f0227
1 changed files with 1 additions and 1 deletions

2
action
View File

@ -13,7 +13,7 @@ function write_output() {
GUEST=$(echo -e "\n")
fi
if grep -q 'IMAGE_TYPE' "actions/${OS}"; then
IMAGE_TYPE=$(printf 'IMAGE_TYPE="%s"\n')
IMAGE_TYPE=$(printf 'IMAGE_TYPE="%s"\n' "$(grep 'IMAGE_TYPE' < "actions/${OS}" | cut -d'"' -f2)")
else
IMAGE_TYPE=$(echo -e "\n")
fi