2023-11-03 19:31:22 +01:00
|
|
|
---
|
|
|
|
steps:
|
|
|
|
gitleaks:
|
2024-01-26 22:53:13 +01:00
|
|
|
image: zricethezav/gitleaks:v8.18.0
|
2023-11-03 19:31:22 +01:00
|
|
|
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 {} +"
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- tag
|