Build and Publish Homebrew Package (#330)

* Initial go at homebrew

* Adding end of file new line

* Readme cleanup

* rename tap owner

Co-authored-by: Dustin Decker <dustin@trufflesec.com>
This commit is contained in:
Drew Stinnett 2022-04-15 16:43:40 -04:00 committed by GitHub
parent 4954086ec9
commit d1c72941a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 2 deletions

View file

@ -78,3 +78,13 @@ docker_manifests:
image_templates:
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-amd64
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-arm64v8
brews:
- tap:
owner: trufflesecurity
name: homebrew-trufflehog
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
description: "Find credentials all over the place"
name: "trufflehog"
homepage: "https://github.com/trufflesecurity/trufflehog"
install: |
bin.install "trufflehog"

View file

@ -80,9 +80,12 @@ Here is an example of a [project that does it](https://github.com/Yelp/dumb-init
Help with setting up this packaging would be appreciated!
### 5. Brew (help wanted)
### 5. Brew
We'd love to distribute via brew and could use your help.
```bash
brew tap trufflesecurity/trufflehog
brew install trufflehog
```
## Usage