forked from helm/chart-testing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
58 lines (58 loc) · 1.65 KB
/
.goreleaser.yml
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
project_name: chart-testing
before:
hooks:
- go mod download
builds:
- main: ct/main.go
binary: ct
env:
- CGO_ENABLED=0
goarch:
- amd64
- arm64
- arm
goos:
- linux
- darwin
- windows
ldflags:
- >-
-X github.com/helm/chart-testing/v3/ct/cmd.Version={{ .Tag }}
-X github.com/helm/chart-testing/v3/ct/cmd.GitCommit={{ .Commit }}
-X github.com/helm/chart-testing/v3/ct/cmd.BuildDate={{ .Date }}
archives:
- format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
- etc/chart_schema.yaml
- etc/lintconf.yaml
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
dockers:
- goos: linux
goarch: amd64
binaries:
- ct
skip_push: false
dockerfile: Dockerfile
image_templates:
- quay.io/helmpack/chart-testing:{{ .Tag }}
- quay.io/helmpack/chart-testing:latest
build_flag_templates:
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .Commit }}
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.created={{ .Date }}
- --label=org.opencontainers.image.description=ct - The chart testing tool
- --label=org.opencontainers.image.vendor=Helm
- --label=org.opencontainers.image.licenses=Apache-2.0
- --label=org.opencontainers.image.source=https://github.com/helm/chart-testing
- --label=org.opencontainers.image.authors=The Helm Authors
extra_files:
- etc/chart_schema.yaml
- etc/lintconf.yaml