Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should not fail on info findings #1000

Open
1 of 2 tasks
PascalTurbo opened this issue Feb 7, 2024 · 0 comments
Open
1 of 2 tasks

Should not fail on info findings #1000

PascalTurbo opened this issue Feb 7, 2024 · 0 comments

Comments

@PascalTurbo
Copy link

  • [] This is a bug report
  • This is a feature request
  • I searched existing issues before opening this one

Expected behavior

Hadolint should not fail (Return Code != 0) if only findings with severity "info" are found.

Actual behavior

Hadolint fails also on info findings what makes it nearly useless in a CI/CD Setup (where we want to stop the pipeline on warnings but not on info severities)

A possible solution would be to add an option to set on which severities it should fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant