Skip to content

Commit

Permalink
chore: also push results to env var
Browse files Browse the repository at this point in the history
  • Loading branch information
harmw committed Mar 31, 2022
1 parent 1dd44fc commit 652bc66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hadolint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ fi
RESULTS="${RESULTS//$'\\n'/''}"
echo "::set-output name=results::$RESULTS"

{ echo "HADOLINT_RESULTS<<EOF"; echo "$RESULTS"; echo "EOF"; } >> $GITHUB_ENV

[ -z "$HADOLINT_OUTPUT" ] || echo "Hadolint output saved to: $HADOLINT_OUTPUT"

exit $FAILED

0 comments on commit 652bc66

Please sign in to comment.