add shellcheck and hadolint
This commit is contained in:
parent
324b441d27
commit
9d1067ed8c
1 changed files with 13 additions and 4 deletions
17
.drone.yml
17
.drone.yml
|
@ -13,10 +13,19 @@ steps:
|
|||
exclude:
|
||||
- tag
|
||||
|
||||
# - name: hadolint
|
||||
# image: hadolint/hadolint:latest-debian
|
||||
# commands:
|
||||
# - hadolint Dockerfile
|
||||
- name: shellcheck
|
||||
image: koalaman/shellcheck
|
||||
commands:
|
||||
- shellcheck app.sh
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
- tag
|
||||
|
||||
- name: hadolint
|
||||
image: hadolint/hadolint:latest-debian
|
||||
commands:
|
||||
- hadolint Dockerfile
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
|
|
Loading…
Reference in a new issue