Skip to content

Commit 5cdd7dd

Browse files
committed
fix
1 parent f75fd94 commit 5cdd7dd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

script.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,7 @@ docker_files=$(git ls-files --exclude='*Dockerfile*' --ignored --cached)
5252
for docker_file in "${docker_files[@]}" ; do
5353
export DOCKER_FILE_PATH=${docker_file}
5454
check_result=$(docker build -f "${docker_file}" --call=check,format=json . || true)
55-
echo "::group:: result of build --check"
56-
echo "$check_result"
57-
echo "::endgroups::"
58-
if [[ -z "$(echo "$check_result" | jq '.warnings // empty')" ]]; then
55+
if [[ "$(echo "$check_result" | jq '.warnings // empty')" ]]; then
5956
echo "No warnings found in ${docker_file}"
6057
continue
6158
fi

0 commit comments

Comments
 (0)