-
Notifications
You must be signed in to change notification settings - Fork 83
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
Missing tag rule should not apply to local multistage Dockerfiles #187
Comments
I had similar issue, here the link to it. oxsecurity/megalinter#1053 curious if you have a workaround |
I have the same issue here for local multi stages. It would be nice to have a general option to disable any rule(s) using comment |
Any update on this? |
I just ran into the same issue. |
Just did bump into the same issue, is there really no way to add an ignore statement like the one suggested above? This would help to "workaround" the problem until it will eventually be supported. Currently I end up disabling the linter for a whole file, and that's sad because we loose valuable feedback from it. |
Just encountered this 2.5 years later. |
Using project mega-linter, I get the following error:
on the following Dockerfile:
This makes me disable the rule missing_tag, which I want enabled for the first two stages, in order to pass the test.
Is this behaviour intended or is it possible to check whether there is a previous stage with the name being checked and skip that validation?
Thanks for the good work. If you accept PRs I could check if I can do this update.
The text was updated successfully, but these errors were encountered: