Skip to content

Commit

Permalink
Build and Publish Homebrew Package (#330)
Browse files Browse the repository at this point in the history
* Initial go at homebrew

* Adding end of file new line

* Readme cleanup

* rename tap owner

Co-authored-by: Dustin Decker <dustin@trufflesec.com>
  • Loading branch information
drewstinnett and dustin-decker authored Apr 15, 2022
1 parent 4954086 commit d1c7294
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d1c7294

Please sign in to comment.