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,47 +1,47 @@
|
||||||
builds:
|
builds:
|
||||||
ldflags:
|
- binary: trufflehog
|
||||||
- -X 'github.com/trufflesecurity/trufflehog/v3/pkg/version.BuildVersion={{ .Version }}'
|
ldflags:
|
||||||
- env: [CGO_ENABLED=0]
|
- -X 'github.com/trufflesecurity/trufflehog/v3/pkg/version.BuildVersion={{ .Version }}'
|
||||||
binary: trufflehog
|
env: [CGO_ENABLED=0]
|
||||||
goos:
|
goos:
|
||||||
- linux
|
- linux
|
||||||
- windows
|
- windows
|
||||||
- darwin
|
- darwin
|
||||||
goarch:
|
goarch:
|
||||||
- amd64
|
- amd64
|
||||||
- arm64
|
- arm64
|
||||||
dockers:
|
dockers:
|
||||||
- image_templates: ["ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-amd64"]
|
- image_templates: ["ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-amd64"]
|
||||||
dockerfile: Dockerfile.goreleaser
|
dockerfile: Dockerfile.goreleaser
|
||||||
use: buildx
|
use: buildx
|
||||||
build_flag_templates:
|
build_flag_templates:
|
||||||
- --platform=linux/amd64
|
- --platform=linux/amd64
|
||||||
- --label=org.opencontainers.image.title={{ .ProjectName }}
|
- --label=org.opencontainers.image.title={{ .ProjectName }}
|
||||||
- --label=org.opencontainers.image.description={{ .ProjectName }}
|
- --label=org.opencontainers.image.description={{ .ProjectName }}
|
||||||
- --label=org.opencontainers.image.url=https://github.com/trufflesecurity/{{ .ProjectName }}
|
- --label=org.opencontainers.image.url=https://github.com/trufflesecurity/{{ .ProjectName }}
|
||||||
- --label=org.opencontainers.image.source=https://github.com/trufflesecurity/{{ .ProjectName }}
|
- --label=org.opencontainers.image.source=https://github.com/trufflesecurity/{{ .ProjectName }}
|
||||||
- --label=org.opencontainers.image.version={{ .Version }}
|
- --label=org.opencontainers.image.version={{ .Version }}
|
||||||
- --label=org.opencontainers.image.revision={{ .FullCommit }}
|
- --label=org.opencontainers.image.revision={{ .FullCommit }}
|
||||||
- --label=org.opencontainers.image.licenses=AGPL-3.0
|
- --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
|
goarch: arm64
|
||||||
dockerfile: Dockerfile.goreleaser
|
dockerfile: Dockerfile.goreleaser
|
||||||
use: buildx
|
use: buildx
|
||||||
build_flag_templates:
|
build_flag_templates:
|
||||||
- --platform=linux/arm64/v8
|
- --platform=linux/arm64/v8
|
||||||
- --label=org.opencontainers.image.title={{ .ProjectName }}
|
- --label=org.opencontainers.image.title={{ .ProjectName }}
|
||||||
- --label=org.opencontainers.image.description={{ .ProjectName }}
|
- --label=org.opencontainers.image.description={{ .ProjectName }}
|
||||||
- --label=org.opencontainers.image.url=https://github.com/trufflesecurity/{{ .ProjectName }}
|
- --label=org.opencontainers.image.url=https://github.com/trufflesecurity/{{ .ProjectName }}
|
||||||
- --label=org.opencontainers.image.source=https://github.com/trufflesecurity/{{ .ProjectName }}
|
- --label=org.opencontainers.image.source=https://github.com/trufflesecurity/{{ .ProjectName }}
|
||||||
- --label=org.opencontainers.image.version={{ .Version }}
|
- --label=org.opencontainers.image.version={{ .Version }}
|
||||||
- --label=org.opencontainers.image.revision={{ .FullCommit }}
|
- --label=org.opencontainers.image.revision={{ .FullCommit }}
|
||||||
- --label=org.opencontainers.image.licenses=AGPL-3.0
|
- --label=org.opencontainers.image.licenses=AGPL-3.0
|
||||||
docker_manifests:
|
docker_manifests:
|
||||||
- name_template: ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}
|
- name_template: ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}
|
||||||
image_templates:
|
image_templates:
|
||||||
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-amd64
|
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-amd64
|
||||||
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-arm64v8
|
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-arm64v8
|
||||||
- name_template: ghcr.io/trufflesecurity/{{ .ProjectName }}:latest
|
- name_template: ghcr.io/trufflesecurity/{{ .ProjectName }}:latest
|
||||||
image_templates:
|
image_templates:
|
||||||
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-amd64
|
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-amd64
|
||||||
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-arm64v8
|
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-arm64v8
|
||||||
|
|
Loading…
Reference in a new issue