1
0
Fork 0
mirror of https://github.com/hadolint/hadolint-action.git synced 2024-08-16 10:09:53 +02:00
Commit graph

13 commits

Author SHA1 Message Date
Harm Weites
1dd44fc493
chore: fix issue with multiline strings in output
Looking at [1] this should do some magic, so let's see.

[1] https://github.community/t/set-output-truncates-multiline-strings/16852
2022-03-31 12:45:58 +02:00
Harm Weites
5fc1b0e2fb
chore: escape backticks in results var 2022-03-31 11:14:55 +02:00
Harm Weites
bc289f2eaa
feat: use 'set-output name=results'
This will introduce a parameter with name results that holds the
hadolint output. Other steps in a workflow can make use of this.

Also fix an error with the piping to tee that was broken.
2022-03-31 09:51:31 +02:00
José Lorenzo Rodríguez
e8cde77aa0
avoid failing on missing trusted registries 2022-03-24 15:28:03 +01:00
Paul Barton
63666e594d Apply exit code to hadolint.sh 2022-03-24 13:32:02 +00:00
José Lorenzo Rodríguez
070f68df71
Merge pull request #43 from m-ildefons/config-options
features: config options, saving to file, SARIF
2022-03-22 09:41:12 +01:00
Matthieu Blottière
390bcfc1bc
fix: attempt to fix missing problem-matcher
It uses the solution mentioned in
https://github.com/actions/toolkit/issues/305#issuecomment-585515210
2021-12-08 17:26:25 +01:00
Moritz Röhrich
98fb3f8040 features: config options, saving to file, SARIF
- Upgrade to Hadolint 2.8.0, enabling the SARIF formatter
- Expand config options to reflect more of those regularly available
  with Hadolint including `no-fail` and `failure-threshold` options
- Enable the creation of report files

Breaking change: The list of ignored rules is now comma separated and
not space separated.

fixes: #23
fixes: #36
fixes: #42
2021-11-20 12:02:12 +01:00
Itamar Givon
34545a185d Add recursive linting 2021-06-14 12:01:11 +02:00
Moritz Röhrich
110e47c1b7 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
2021-05-08 14:54:03 +02:00
Arne Jørgensen
1623ba6171
fix: Remove problem matcher after run (#16) 2020-12-06 19:10:45 +00:00
Arne Jørgensen
7e374b112f
fix: Fix problem matcher (#14) 2020-12-05 18:38:01 +00:00
Arne Jørgensen
88386d9893
feat: Add problem matcher
* Add problem matcher

* Fix loading tar file from artifacts
2020-12-05 17:34:32 +00:00