29 lines
535 B
YAML
29 lines
535 B
YAML
|
---
|
||
|
steps:
|
||
|
gitleaks:
|
||
|
image: zricethezav/gitleaks:latest
|
||
|
commands:
|
||
|
- gitleaks detect --no-git --verbose --source $CI_WORKSPACE
|
||
|
when:
|
||
|
event:
|
||
|
exclude:
|
||
|
- tag
|
||
|
|
||
|
hadolint:
|
||
|
image: hadolint/hadolint:latest-debian
|
||
|
commands:
|
||
|
- hadolint Dockerfile
|
||
|
when:
|
||
|
event:
|
||
|
exclude:
|
||
|
- tag
|
||
|
|
||
|
shellcheck:
|
||
|
image: koalaman/shellcheck-alpine:stable
|
||
|
commands:
|
||
|
- "find . -name *.sh -exec shellcheck -x {} +"
|
||
|
when:
|
||
|
event:
|
||
|
exclude:
|
||
|
- tag
|