diff --git a/.goreleaser.yml b/.goreleaser.yml index 20ce64b8a..d7164f9bf 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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" diff --git a/README.md b/README.md index 54d24d5b1..46ca6915b 100644 --- a/README.md +++ b/README.md @@ -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