forked from homedepot/k8s-global-objects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
47 lines (47 loc) · 1006 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
before:
hooks:
- make clean
# you may remove this if you don't need go generate
- go generate ./...
# run formatting for go
- make format
# run test
- make test
builds:
- main: main.go
binary: k8s-global-objects
goos:
- darwin
- linux
goarch:
- amd64
dist:
_dist
dockers:
-
# GOOS of the built binary that should be used.
goos: linux
# GOARCH of the built binary that should be used.
goarch: amd64
# Templates of the Docker image names.
image_templates:
- "homedepottech/k8s-global-objects:latest"
- "homedepottech/k8s-global-objects:{{ .Tag }}"
dockerfile: Dockerfile
# Skips the docker push. Could be useful if you also do draft releases.
# Defaults to false.
skip_push: true
archive:
format: tar.gz
files:
- README.md
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'