fix(ci): pull gitleaks from GHCR and pin version
PR Check / Dockerfile lint (droast) (pull_request) Skipped
PR Check / ESLint (pull_request) Successful in 35s
PR Check / Typecheck (pull_request) Successful in 38s
PR Check / Secret scan (gitleaks) (pull_request) Failing after 5s
PR Check / Dependency audit (pull_request) Successful in 8s
PR Check / Security scan (Snyk) (pull_request) Failing after 1s
PR Check / AI code review (opencode) (pull_request) Successful in 7s
PR Check / Dockerfile lint (droast) (pull_request) Skipped
PR Check / ESLint (pull_request) Successful in 35s
PR Check / Typecheck (pull_request) Successful in 38s
PR Check / Secret scan (gitleaks) (pull_request) Failing after 5s
PR Check / Dependency audit (pull_request) Successful in 8s
PR Check / Security scan (Snyk) (pull_request) Failing after 1s
PR Check / AI code review (opencode) (pull_request) Successful in 7s
gitleaks is not published on Docker Hub, so the container image pull failed with 'pull access denied'. Use ghcr.io/gitleaks/gitleaks and pin v8.28.0 for reproducible scans.
This commit is contained in:
1 parent
ecd0192466
commit
ce9c090a15
1 file changed
+2
-1
@@ -66,7 +66,8 @@ jobs:
|
||||
name: Secret scan (gitleaks)
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: gitleaks/gitleaks:latest
|
||||
# gitleaks is published on GHCR only (not Docker Hub) - pin the version
|
||||
image: ghcr.io/gitleaks/gitleaks:v8.28.0
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user