-
Notifications
You must be signed in to change notification settings - Fork 17
/
.goreleaser.yml
70 lines (58 loc) · 1.33 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
59
60
61
62
63
64
65
66
67
68
69
70
version: 2
before:
hooks:
- go mod download
- go generate ./...
builds:
-
main: ./cmd/csi-vultr-driver/
env:
- CGO_ENABLED=0
binary: csi-vultr-plugin
flags:
- -trimpath #removes all file system paths from the compiled executable
goos:
- linux
- darwin
goarch:
- amd64
- arm64
checksum:
name_template: "{{ .ProjectName }}_v{{ .Version }}_checksums.txt"
algorithm: sha256
snapshot:
name_template: "{{ .ProjectName }}_v{{ .Version }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
dockers:
- dockerfile: Dockerfile
- image_templates:
- "vultr/vultr-csi:{{ .Tag }}-amd64"
use: buildx
build_flag_templates:
- "--pull"
- "--platform=linux/amd64"
- image_templates:
- "vultr/vultr-csi:{{ .Tag }}-arm64"
use: buildx
build_flag_templates:
- "--pull"
- "--platform=linux/arm64"
goarch: arm64
docker_manifests:
- name_template: "vultr/vultr-csi:{{ .Tag }}"
image_templates:
- "vultr/vultr-csi:{{ .Tag }}-amd64"
- "vultr/vultr-csi:{{ .Tag }}-arm64"
- name_template: "vultr/vultr-csi:latest"
image_templates:
- "vultr/vultr-csi:{{ .Tag }}-amd64"
- "vultr/vultr-csi:{{ .Tag }}-arm64"
release:
github:
owner: Vultr
name: vultr-csi