22 lines
394 B
YAML
22 lines
394 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: gitleaks
|
||
|
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
|