ci: perform hadolint check in deploy pipeline
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
...a failsafe of sorts
This commit is contained in:
parent
66528553a3
commit
a0e38dd2ef
|
@ -193,11 +193,20 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- rm -rf ./public
|
- rm -rf ./public
|
||||||
|
|
||||||
|
- name: hadolint
|
||||||
|
image: hadolint/hadolint:v2.9.1-alpine
|
||||||
|
depends_on:
|
||||||
|
- clone
|
||||||
|
commands:
|
||||||
|
- hadolint --version
|
||||||
|
- hadolint Dockerfile
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
pull: always
|
pull: always
|
||||||
image: tmaier/docker-compose:latest
|
image: tmaier/docker-compose:latest
|
||||||
depends_on:
|
depends_on:
|
||||||
- rm-intermediate
|
- rm-intermediate
|
||||||
|
- hadolint
|
||||||
volumes:
|
volumes:
|
||||||
- name: s
|
- name: s
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
|
Loading…
Reference in New Issue