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:
|
||||
- rm -rf ./public
|
||||
|
||||
- name: hadolint
|
||||
image: hadolint/hadolint:v2.9.1-alpine
|
||||
depends_on:
|
||||
- clone
|
||||
commands:
|
||||
- hadolint --version
|
||||
- hadolint Dockerfile
|
||||
|
||||
- name: build
|
||||
pull: always
|
||||
image: tmaier/docker-compose:latest
|
||||
depends_on:
|
||||
- rm-intermediate
|
||||
- hadolint
|
||||
volumes:
|
||||
- name: s
|
||||
path: /var/run/docker.sock
|
||||
|
Loading…
Reference in New Issue
Block a user