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 5cdd7ddCopy full SHA for 5cdd7dd
script.sh
@@ -52,10 +52,7 @@ docker_files=$(git ls-files --exclude='*Dockerfile*' --ignored --cached)
52
for docker_file in "${docker_files[@]}" ; do
53
export DOCKER_FILE_PATH=${docker_file}
54
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
+ if [[ "$(echo "$check_result" | jq '.warnings // empty')" ]]; then
59
echo "No warnings found in ${docker_file}"
60
continue
61
fi
0 commit comments