Skip to content
Snippets Groups Projects
Commit 5d22f5d8 authored by Prada Sarasola, Miguel's avatar Prada Sarasola, Miguel
Browse files

Add dockerfile tests using hadolint

parent 6c90c9bf
No related branches found
No related tags found
1 merge request!25Tests
......@@ -2,3 +2,12 @@ shellcheck:
image: koalaman/shellcheck-alpine
script: 'shellcheck deploy/base/ros_entrypoint.bash scripts/*sh'
allow_failure: yes
dockerfiles:
image: hadolint/hadolint:latest-debian
script:
- RET=0
- hadolint deploy/base/Dockerfile || RET=1
- hadolint deploy/dev/Dockerfile || RET=1
- exit $RET
allow_failure: yes
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment