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

feat: expose results of hadolint to env var #55

Merged
merged 15 commits into from Mar 31, 2022

Conversation

harmw
Copy link
Contributor

@harmw harmw commented Mar 31, 2022

This pushes all results from hadolint into both a var named results and an environment variable for easy pickup in other steps in a workflow.

There's a single integration-test included that makes use of this feature, pushing the result back into a pending PR.

Additionally, I found the tee trick to be broken as hadolint mistakenly wanted to parse/use the | tee outputfile.txt as input. Hence writing to file is now done using a plain echo.

@lorenzo
Copy link
Member

lorenzo commented Mar 31, 2022

thanks!

@lorenzo lorenzo merged commit f988afe into hadolint:master Mar 31, 2022
@github-actions
Copy link

🎉 This PR is included in version 2.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@DracoBlue
Copy link
Contributor

This PR broke the output for cases when it shall not be exposed.

Thus see #71 to fix this.

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

Successfully merging this pull request may close these issues.

None yet

3 participants