chore: fix .goreleaser.yml and goreleaser usage for goreleaser v2 (#3073)
Lint / golangci-lint (push) Waiting to run
Lint / semgrep (push) Waiting to run
Release / Release (push) Waiting to run
Scan for secrets / test (push) Waiting to run
Snifftest / Run Snifftest (push) Waiting to run
Test / test (push) Waiting to run
Test / test-community (push) Waiting to run
Lint / golangci-lint (push) Waiting to run
Lint / semgrep (push) Waiting to run
Release / Release (push) Waiting to run
Scan for secrets / test (push) Waiting to run
Snifftest / Run Snifftest (push) Waiting to run
Test / test (push) Waiting to run
Test / test-community (push) Waiting to run
This commit is contained in:
@@ -44,7 +44,7 @@ jobs:
|
||||
with:
|
||||
distribution: goreleaser
|
||||
version: latest
|
||||
args: release --rm-dist
|
||||
args: release --clean
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
|
||||
|
||||
+3
-2
@@ -1,3 +1,4 @@
|
||||
version: 2
|
||||
builds:
|
||||
- binary: trufflehog
|
||||
ldflags:
|
||||
@@ -87,7 +88,7 @@ docker_manifests:
|
||||
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-amd64
|
||||
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-arm64v8
|
||||
brews:
|
||||
- tap:
|
||||
- repository:
|
||||
owner: trufflesecurity
|
||||
name: homebrew-trufflehog
|
||||
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
|
||||
@@ -107,4 +108,4 @@ signs:
|
||||
- "--output-signature=${signature}"
|
||||
- "${artifact}"
|
||||
- "--yes"
|
||||
artifacts: checksum
|
||||
artifacts: checksum
|
||||
|
||||
Reference in New Issue
Block a user