2023-11-03 19:10:12 +01:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2023-11-03 19:13:36 +01:00
|
|
|
name: linting
|
2023-11-03 19:10:12 +01:00
|
|
|
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
|