From ce9c090a150e448919205f9386ff61bfe77dfdb9 Mon Sep 17 00:00:00 2001 From: Noel Sabia Date: Sun, 18 Oct 2026 15:42:40 +0200 Subject: [PATCH] fix(ci): pull gitleaks from GHCR and pin version 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. --- .gitea/workflows/pr-checker.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/pr-checker.yml b/.gitea/workflows/pr-checker.yml index 3dcd8bf..d6384f5 100644 --- a/.gitea/workflows/pr-checker.yml +++ b/.gitea/workflows/pr-checker.yml @@ -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: