fix gitlab-ci to use alternative image

This commit is contained in:
2025-09-24 20:48:06 -04:00
parent b606507f4f
commit 5f794e4e25
+3 -7
View File
@@ -1,17 +1,13 @@
---
gitleaks_scan:
image:
name: zricethezav/gitleaks:latest
entrypoint: [""]
image: ghcr.io/zricethezav/gitleaks/v8:latest
stage: test
tags: [gitleaks, scan]
script:
- gitleaks detect --source=. --config=gitleaks.toml --report-format=json --report-path=gitleaks-report.json
allow_failure: false
only: [main, testing, merge_requests]
artifacts:
when: always
paths:
- gitleaks-report.json
expire_in: 1 week
paths: [gitleaks-report.json]
expire_in: 1 week