2023-11-03 19:28:37 +01:00
|
|
|
---
|
|
|
|
steps:
|
|
|
|
gitleaks:
|
2024-01-26 22:50:04 +01:00
|
|
|
image: zricethezav/gitleaks:v8.18.0
|
2023-11-03 19:28:37 +01:00
|
|
|
commands:
|
|
|
|
- gitleaks detect --no-git --verbose --source $CI_WORKSPACE
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- tag
|
|
|
|
|
|
|
|
hadolint:
|
2024-01-26 23:26:28 +01:00
|
|
|
image: pipelinecomponents/hadolint:0.25.9
|
2023-11-03 19:28:37 +01:00
|
|
|
commands:
|
|
|
|
- hadolint Dockerfile
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- tag
|
|
|
|
|
|
|
|
shellcheck:
|
|
|
|
image: koalaman/shellcheck-alpine:stable
|
|
|
|
commands:
|
|
|
|
- "find . -name *.sh -exec shellcheck {} +"
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- tag
|