fix gitlab-ci to use alternative image
This commit is contained in:
+3
-7
@@ -1,17 +1,13 @@
|
|||||||
---
|
---
|
||||||
gitleaks_scan:
|
gitleaks_scan:
|
||||||
image:
|
image: ghcr.io/zricethezav/gitleaks/v8:latest
|
||||||
name: zricethezav/gitleaks:latest
|
|
||||||
entrypoint: [""]
|
|
||||||
stage: test
|
stage: test
|
||||||
tags: [gitleaks, scan]
|
tags: [gitleaks, scan]
|
||||||
script:
|
script:
|
||||||
- gitleaks detect --source=. --config=gitleaks.toml --report-format=json --report-path=gitleaks-report.json
|
- gitleaks detect --source=. --config=gitleaks.toml --report-format=json --report-path=gitleaks-report.json
|
||||||
allow_failure: false
|
allow_failure: false
|
||||||
only: [main, testing, merge_requests]
|
only: [main, testing, merge_requests]
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
when: always
|
when: always
|
||||||
paths:
|
paths: [gitleaks-report.json]
|
||||||
- gitleaks-report.json
|
expire_in: 1 week
|
||||||
expire_in: 1 week
|
|
||||||
|
|||||||
Reference in New Issue
Block a user