mirror of
https://github.com/hadolint/hadolint-action.git
synced 2026-07-04 23:51:38 +00:00
hadolint: version bump to 2.4.0
- bump Hadolint version to 2.4.0 - change to debian based image - add common config options - expand integration tests for new options fixes: https://github.com/hadolint/hadolint-action/issues/5 fixes: https://github.com/hadolint/hadolint-action/issues/8 fixes: https://github.com/hadolint/hadolint-action/issues/17 fixes: https://github.com/hadolint/hadolint-action/issues/18 fixes: https://github.com/hadolint/hadolint-action/issues/31
This commit is contained in:
+10
-1
@@ -19,4 +19,13 @@ trap cleanup EXIT
|
||||
|
||||
echo "::add-matcher::${TMP_FOLDER}/problem-matcher.json"
|
||||
|
||||
hadolint "$@"
|
||||
if [ -n "$HADOLINT_CONFIG" ]; then
|
||||
HADOLINT_CONFIG="-c ${HADOLINT_CONFIG}"
|
||||
fi
|
||||
|
||||
for i in $HADOLINT_IGNORE; do
|
||||
HADOLINT_IGNORE_CMDLINE="${HADOLINT_IGNORE_CMDLINE} --ignore=${i}"
|
||||
done
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
hadolint $HADOLINT_IGNORE_CMDLINE $HADOLINT_CONFIG "$@"
|
||||
|
||||
Reference in New Issue
Block a user