We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f75fd94 commit 544e154Copy full SHA for 544e154
script.sh
@@ -55,7 +55,8 @@ for docker_file in "${docker_files[@]}" ; do
55
echo "::group:: result of build --check"
56
echo "$check_result"
57
echo "::endgroups::"
58
- if [[ -z "$(echo "$check_result" | jq '.warnings // empty')" ]]; then
+ warnings=$(echo "$check_result" | jq '.warnings')
59
+ if [[ "$warnings" == "null" ]]; then
60
echo "No warnings found in ${docker_file}"
61
continue
62
fi
0 commit comments