Skip to content

Commit

Permalink
Update GitHub action metadata to use ghcr.io image
Browse files Browse the repository at this point in the history
The 'runs.image:' argument was using `Dockerfile`. This caused
a Docker build of the trufflehog image every time someone
used this action.

I've changed the argument to use the already published Docker image.
This will speed up the workflows considerably, since it pulls the
image that is already built and available on GitHub's image storage.
  • Loading branch information
channelbeta committed May 9, 2022
1 parent cebb2e0 commit 14ae34c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ branding:
color: "green"
runs:
using: "docker"
image: "Dockerfile"
image: "docker://ghcr.io/trufflesecurity/trufflehog:latest"
args:
- git
- file://${{ inputs.path }}
Expand Down

0 comments on commit 14ae34c

Please sign in to comment.