-
Notifications
You must be signed in to change notification settings - Fork 107
/
.goreleaser.yaml
78 lines (66 loc) · 2.49 KB
/
.goreleaser.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
includes:
- from_file:
path: ./.goreleaser/common.yaml
snapshot:
name_template: "{{ incpatch .Version }}-next"
release:
draft: false
mode: append
brews:
- # Name template of the recipe
name: bearer
folder: Formula
install: bin.install "bearer"
dependencies:
- name: git
tap:
owner: Bearer
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_author:
name: bearer
email: [email protected]
commit_msg_template: "chore: Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
homepage: "https://bearer.com"
license: "Elastic License 2.0"
description: "A data-first security scanner that finds risks and vulnerabilities in your code so you can protect sensitive data (PHI, PD, PII)."
dockers:
- image_templates:
- "docker.io/bearer/bearer:{{ .Tag }}-amd64"
- "docker.io/bearer/bearer:{{ .Tag }}"
- "docker.io/bearer/bearer:{{ .Version }}-amd64"
- "docker.io/bearer/bearer:{{ .Version }}"
- "docker.io/bearer/bearer:latest-amd64"
- "docker.io/bearer/bearer:latest"
- "ghcr.io/bearer/bearer:{{ .Tag }}-amd64"
- "ghcr.io/bearer/bearer:{{ .Tag }}"
- "ghcr.io/bearer/bearer:{{ .Version }}-amd64"
- "ghcr.io/bearer/bearer:{{ .Version }}"
- "ghcr.io/bearer/bearer:latest-amd64"
- "ghcr.io/bearer/bearer:latest"
use: buildx
goos: linux
goarch: amd64
ids:
- linux
build_flag_templates:
- "--label=org.opencontainers.image.title={{ .ProjectName }}"
- "--label=org.opencontainers.image.description=A data-first security scanner that finds risks and vulnerabilities in your code so you can protect sensitive data (PHI, PD, PII)."
- "--label=org.opencontainers.image.vendor=Bearer"
- "--label=org.opencontainers.image.version={{ .Version }}"
- "--label=org.opencontainers.image.created={{ .Date }}"
- "--label=org.opencontainers.image.source=https://github.com/bearer/bearer"
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
- "--label=org.opencontainers.image.url=https://bearer.com"
- "--label=org.opencontainers.image.documentation=https://docs.bearer.com"
- "--platform=linux/amd64"
announce:
discord:
enabled: true
message_template: |
Bearer {{ .Tag }} is out now! Check it out: https://github.com/bearer/bearer/releases/tag/{{ .Tag }}
{{ .ReleaseNotes }}
furies:
-
account: bearer
secret_name: FURY_TOKEN