We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2472b1b commit 19fdb20Copy full SHA for 19fdb20
.github/workflows/reusable-trufflehog.yml
@@ -42,7 +42,12 @@ jobs:
42
run: |
43
# Download binary directly from GitHub releases for supply chain security
44
VERSION="v${{ env.TRUFFLEHOG_VERSION }}"
45
- ARCH="linux_amd64"
+ # Auto-detect architecture for cross-platform support
46
+ if [[ "$(uname -m)" == "aarch64" ]]; then
47
+ ARCH="linux_arm64"
48
+ else
49
+ ARCH="linux_amd64"
50
+ fi
51
BINARY_URL="https://github.com/trufflesecurity/trufflehog/releases/download/${VERSION}/trufflehog_${VERSION#v}_${ARCH}.tar.gz"
52
53
curl -sSfL "${BINARY_URL}" | tar -xz -C /tmp
0 commit comments