Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
shmokmt committed Oct 24, 2024
1 parent f75fd94 commit 544e154
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ for docker_file in "${docker_files[@]}" ; do
echo "::group:: result of build --check"
echo "$check_result"
echo "::endgroups::"
if [[ -z "$(echo "$check_result" | jq '.warnings // empty')" ]]; then
warnings=$(echo "$check_result" | jq '.warnings')
if [[ "$warnings" == "null" ]]; then
echo "No warnings found in ${docker_file}"
continue
fi
Expand Down

0 comments on commit 544e154

Please sign in to comment.