mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 15:02:45 +00:00
lib: yq: explode anchors to get real value of image values
yq is not exploding anchors anymore and requiere an extra flag. Add flag to fix CI. Fixes: #934 Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
parent
8cf66ce86b
commit
ea8b7754ba
@ -57,7 +57,7 @@ get_from_kata_deps() {
|
|||||||
echo "Download from ${yaml_url}" >&2
|
echo "Download from ${yaml_url}" >&2
|
||||||
curl --silent -o "${versions_file}" "$yaml_url"
|
curl --silent -o "${versions_file}" "$yaml_url"
|
||||||
fi
|
fi
|
||||||
result=$("${GOPATH}/bin/yq" read "$versions_file" "$dependency")
|
result=$("${GOPATH}/bin/yq" read -X "$versions_file" "$dependency")
|
||||||
[ "$result" = "null" ] && result=""
|
[ "$result" = "null" ] && result=""
|
||||||
echo "$result"
|
echo "$result"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user