mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
fix goreleaser format
This commit is contained in:
parent
ab3468e816
commit
203aa87ca6
1 changed files with 44 additions and 44 deletions
|
@ -1,8 +1,8 @@
|
|||
builds:
|
||||
- binary: trufflehog
|
||||
ldflags:
|
||||
- -X 'github.com/trufflesecurity/trufflehog/v3/pkg/version.BuildVersion={{ .Version }}'
|
||||
- env: [CGO_ENABLED=0]
|
||||
binary: trufflehog
|
||||
env: [CGO_ENABLED=0]
|
||||
goos:
|
||||
- linux
|
||||
- windows
|
||||
|
@ -11,7 +11,7 @@ builds:
|
|||
- amd64
|
||||
- arm64
|
||||
dockers:
|
||||
- image_templates: ["ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-amd64"]
|
||||
- image_templates: ["ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-amd64"]
|
||||
dockerfile: Dockerfile.goreleaser
|
||||
use: buildx
|
||||
build_flag_templates:
|
||||
|
@ -23,7 +23,7 @@ dockers:
|
|||
- --label=org.opencontainers.image.version={{ .Version }}
|
||||
- --label=org.opencontainers.image.revision={{ .FullCommit }}
|
||||
- --label=org.opencontainers.image.licenses=AGPL-3.0
|
||||
- image_templates: ["ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-arm64v8"]
|
||||
- image_templates: ["ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-arm64v8"]
|
||||
goarch: arm64
|
||||
dockerfile: Dockerfile.goreleaser
|
||||
use: buildx
|
||||
|
@ -37,11 +37,11 @@ dockers:
|
|||
- --label=org.opencontainers.image.revision={{ .FullCommit }}
|
||||
- --label=org.opencontainers.image.licenses=AGPL-3.0
|
||||
docker_manifests:
|
||||
- name_template: ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}
|
||||
- name_template: ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}
|
||||
image_templates:
|
||||
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-amd64
|
||||
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-arm64v8
|
||||
- name_template: ghcr.io/trufflesecurity/{{ .ProjectName }}:latest
|
||||
- name_template: ghcr.io/trufflesecurity/{{ .ProjectName }}:latest
|
||||
image_templates:
|
||||
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-amd64
|
||||
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-arm64v8
|
||||
|
|
Loading…
Reference in a new issue