Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix(ci): use the correct unprefixed ghcr tag for the TruffleHog image

justin3808c7cc4a9d
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b38fe74e6..ff12f935d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -405,8 +405,9 @@ jobs:
# Runs directly instead of via trufflesecurity/trufflehog because that
# action hard-codes --github-actions, which conflicts with --sarif.
# --fail still writes a complete SARIF file before exiting 183.
+ # Note: ghcr tags carry no "v" prefix.
docker run --rm -v "$PWD:/tmp" -w /tmp \
- ghcr.io/trufflesecurity/trufflehog:v3.97.9 \
+ ghcr.io/trufflesecurity/trufflehog:3.97.9 \
git file:///tmp/ \
--results=verified,unknown \
--exclude-paths=.trufflehog-exclude \
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 15ef21da6..e58912b13 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -32,7 +32,7 @@ jobs:
- name: Scan the full git history for leaked credentials
run: |
docker run --rm -v "$PWD:/tmp" -w /tmp \
- ghcr.io/trufflesecurity/trufflehog:v3.97.9 \
+ ghcr.io/trufflesecurity/trufflehog:3.97.9 \
git file:///tmp/ \
--results=verified,unknown \
--exclude-paths=.trufflehog-exclude \