-
Notifications
You must be signed in to change notification settings - Fork 3
/
.goreleaser.yaml
78 lines (70 loc) · 1.74 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
project_name: trivyops
before:
hooks:
- go mod tidy
builds:
- id: container
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- id: cli
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
dockers:
- ids:
- container
goos: linux
goarch: amd64
image_templates:
- "docker.io/steffakasid/{{ .ProjectName }}:{{ .Tag }}"
- "docker.io/steffakasid/{{ .ProjectName }}:v{{ .Major }}"
- "docker.io/steffakasid/{{ .ProjectName }}:v{{ .Major }}.{{ .Minor }}"
- "docker.io/steffakasid/{{ .ProjectName }}:latest"
dockerfile: build/Dockerfile
archives:
- id: container
builds:
- container
name_template: "{{ .ProjectName }}_cgo_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
- id: cli
builds:
- cli
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
brews:
-
ids:
- cli
# GitHub/GitLab repository to push the formula to
tap:
owner: steffakasid
name: homebrew-trivyops
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
# Git author used to commit to the repository.
commit_author:
name: goreleaserbot
email: goreleaser@steffen-rumpf.de
# The project name and current git tag are used in the format string.
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
# Folder inside the repository to put the formula.
# Default is the root folder.
folder: Formula
homepage: "https://github.com/steffakasid/trivyops"
description: "This tool can be used to scan GitLab for trivy results"
license: "Apache-2.0"