diff --git a/.drone.yml b/.drone.yml index cb840e5..af404bc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,6 +24,12 @@ steps: commands: - uname -r +- name: hadolint + pull: always + image: hadolint/hadolint:latest + commands: + - uname -r + - hadolint --version --- kind: pipeline @@ -68,6 +74,12 @@ depends_on: - build steps: +- name: hadolint + image: hadolint/hadolint:latest + commands: + - hadolint --version + - hadolint Dockerfile + - name: build pull: always image: tmaier/docker-compose:latest diff --git a/.hadolint.yaml b/.hadolint.yaml new file mode 100644 index 0000000..cece24b --- /dev/null +++ b/.hadolint.yaml @@ -0,0 +1,2 @@ +ignored: + - DL3007