Comments (6)
Thanks for the bug report. Will look at it tonight!
from hadolint-gh-action.
Been chasing this for a bit. I believe that parsing %0A
(newline escaping) might have changed in github actions.
from hadolint-gh-action.
Any update on this?
Been busy with work; will make an re-attempt at the fix this week. Sorry for the delay.
from hadolint-gh-action.
Was able to repro with the draft PR as a e2e test. Here's the problem:
++ eval hadolint --no-fail --no-color '' -f json test/fixtures/Dockerfile-warning
+++ hadolint --no-fail --no-color -f json test/fixtures/Dockerfile-warning
+ OUTPUT='[{"code":"DL3018","column":1,"file":"test/fixtures/Dockerfile-warning","level":"warning","line":3,"message":"Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`"}]'
+ echo 'hadolint_output=[{"code":"DL3018","column":1,"file":"test/fixtures/Dockerfile-warning","level":"warning","line":3,"message":"Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`"}] >> /dev/null'
hadolint_output=[{"code":"DL3018","column":1,"file":"test/fixtures/Dockerfile-warning","level":"warning","line":3,"message":"Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`"}] >> /dev/null
Note: the e2e test is incorrect as well.
from hadolint-gh-action.
Any update on this?
from hadolint-gh-action.
Sorry, is there any update on this?
from hadolint-gh-action.
Related Issues (20)
- Silence unecessary output in test suite
- Document cutting a new release
- Provide better error messages in test suite
- Support custom path to hadolint and jq
- Error when trying to use the action in multiple steps HOT 4
- Version mismatch when using older versions of hadolint
- Install fails with: mv: cannot move '/tmp/hadolint' to '/usr/local/bin/hadolint': Permission denied HOT 4
- error_level: 2 always exits non-zero
- Document versioning HOT 3
- Support file filters based on changed files in PRs HOT 4
- Test multiple Dockerfiles as input
- Add more usage examples
- Test the action itself on PR HOT 1
- Idiomatic way to print hadolint report? HOT 5
- Shell expansion **/Dockerfile not finding file recursively HOT 14
- Improve test for catching glob expansion properly
- Pass custom hadolint version to action
- Always use latest available version? HOT 2
- Switch to renovatebot
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hadolint-gh-action.