mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
chore: fix .goreleaser.yml and goreleaser usage for goreleaser v2 (#3073)
This commit is contained in:
parent
cd6d386535
commit
68ec7a28a2
3 changed files with 5 additions and 4 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -44,7 +44,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
distribution: goreleaser
|
distribution: goreleaser
|
||||||
version: latest
|
version: latest
|
||||||
args: release --rm-dist
|
args: release --clean
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
|
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
version: 2
|
||||||
builds:
|
builds:
|
||||||
- binary: trufflehog
|
- binary: trufflehog
|
||||||
ldflags:
|
ldflags:
|
||||||
|
@ -87,7 +88,7 @@ docker_manifests:
|
||||||
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-amd64
|
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-amd64
|
||||||
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-arm64v8
|
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-arm64v8
|
||||||
brews:
|
brews:
|
||||||
- tap:
|
- repository:
|
||||||
owner: trufflesecurity
|
owner: trufflesecurity
|
||||||
name: homebrew-trufflehog
|
name: homebrew-trufflehog
|
||||||
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
|
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -65,4 +65,4 @@ snifftest:
|
||||||
./hack/snifftest/snifftest.sh
|
./hack/snifftest/snifftest.sh
|
||||||
|
|
||||||
test-release:
|
test-release:
|
||||||
goreleaser release --rm-dist --skip-publish --snapshot
|
goreleaser release --clean --skip-publish --snapshot
|
||||||
|
|
Loading…
Reference in a new issue