-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
48 lines (48 loc) · 884 Bytes
/
.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
before:
hooks:
- go mod tidy
- make TAG={{ .Tag }} release
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
checksum:
name_template: '{{ .ProjectName }}_checksums.txt'
dockers:
- image_templates:
- "juanlee/nodify-controller:{{ .Tag }}"
- "juanlee/nodify-controller:latest"
dockerfile: Dockerfile
extra_files:
- go.mod
- go.sum
- main.go
- api
- controllers
- image_templates:
- "juanlee/nodify-daemon:{{ .Tag }}"
- "juanlee/nodify-daemon:latest"
dockerfile: Dockerfile.daemon
extra_files:
- daemon/go.mod
- daemon/go.sum
- daemon/main.go
- daemon/metadata
archives:
- replacements:
linux: Linux
amd64: x86_64
snapshot:
name_template: "{{ .Tag }}-{{ .ShortCommit }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
release:
extra_files:
- glob: ./bin/nodify.yaml