trufflehog: docker-run path fails on Forgejo runner job container #117

Closed
opened 2026-05-25 05:13:27 +00:00 by coilysiren · 0 comments
Owner

First Forgejo Actions run of trufflehog.yml (#115) failed. The original GH workflow used docker run trufflesecurity/trufflehog:latest filesystem .... On GHA runners the docker CLI is preinstalled; on the Forgejo runner the per-job container provisioned by runs-on: docker is a vanilla Node image with no docker CLI, so the docker run step has nothing to invoke.

Fix: install the trufflehog binary directly in the job and run trufflehog filesystem . — drops the dependency on a docker CLI inside the job container.

First Forgejo Actions run of `trufflehog.yml` (#115) failed. The original GH workflow used `docker run trufflesecurity/trufflehog:latest filesystem ...`. On GHA runners the docker CLI is preinstalled; on the Forgejo runner the per-job container provisioned by `runs-on: docker` is a vanilla Node image with no docker CLI, so the `docker run` step has nothing to invoke. Fix: install the trufflehog binary directly in the job and run `trufflehog filesystem .` — drops the dependency on a docker CLI inside the job container.
Sign in to join this conversation.
No labels
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
coilyco-flight-deck/infrastructure#117
No description provided.