-
Notifications
You must be signed in to change notification settings - Fork 28
/
.goreleaser.yaml
107 lines (96 loc) · 2.79 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
project_name: argocd-extension-metrics
before:
hooks:
- go mod download
- make build-ui
builds:
- id: metrics-server
main: ./cmd
binary: metrics-server
env:
- CGO_ENABLED=0
flags:
- -v
ldflags:
- -X github.com/argoproj-labs/argocd-extension-metrics/common.version={{ .Version }}
- -X github.com/argoproj-labs/argocd-extension-metrics/common.buildDate={{ .Date }}
- -extldflags="-static"
goos:
- linux
goarch:
- amd64
ignore:
- goos: darwin
goarch: s390x
- goos: darwin
goarch: ppc64le
- goos: windows
goarch: s390x
- goos: windows
goarch: ppc64le
- goos: windows
goarch: arm64
dockers:
- image_templates:
- quay.io/argoprojlabs/argocd-extension-metrics:latest
- quay.io/argoprojlabs/argocd-extension-metrics:{{ .Tag }}
dockerfile: release.Dockerfile
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--platform=linux/amd64"
archives:
- format: tar.gz
id: binary
builds:
- metrics-server
- format: gz
id: ui-extension
name_template: extension.tar
meta: true
files:
- src: extensions/**/extension.tar
strip_parent: true
checksum:
name_template: 'extension_checksums.txt'
algorithm: sha256
release:
prerelease: auto
draft: false
header: |
## argocd-extension-metrics
{{ .Date }}
### Docker images
- quay.io/argoprojlabs/argocd-extension-metrics:{{ .Tag }}
- quay.io/argoprojlabs/argocd-extension-metrics:latest
footer: |
**Full Changelog**: https://github.com/argoproj-labs/argocd-extension-metrics/compare/{{ .PreviousTag }}...{{ .Tag }}
<a href="https://argoproj.github.io/cd/"><img src="https://raw.githubusercontent.com/argoproj/argo-site/c42c87e68cea647eadc1564e9e264621442aa8cf/src/images/icon.png" width="25%" ></a>
changelog:
use:
github
sort: asc
abbrev: 0
groups: # Regex use RE2 syntax as defined here: https://github.com/google/re2/wiki/Syntax.
- title: 'Features'
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 100
- title: 'Bug fixes'
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
order: 200
- title: 'Documentation'
regexp: '^.*?docs(\([[:word:]]+\))??!?:.+$'
order: 300
- title: 'Dependency updates'
regexp: '^.*?(feat|fix|chore)\(deps?.+\)!?:.+$'
order: 400
- title: 'Other work'
order: 999
filters:
exclude:
- '^test:'
- '^.*?Bump(\([[:word:]]+\))?.+$'
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json