-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
55 lines (55 loc) · 1.18 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
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
- go mod tidy
- go mod download
builds:
- id: aeto
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- "amd64"
- "arm64"
archives:
- id: aeto
builds:
- aeto
replacements:
darwin: Darwin
linux: Linux
files:
- README*
- LICENCE*
- config/crd/*
- config/rbac/*
- config/manager/*
- config/prometheus/*
- config/default/*
- config/default-resources/*
- config/samples/*
dockers:
- id: docker_amd64
goos: linux
goarch: amd64
build_flag_templates:
- "--platform=linux/amd64"
dockerfile: "Dockerfile.goreleaser"
image_templates:
- "kristofferahl/aeto:{{ .Tag }}"
# - "kristofferahl/aeto:v{{ .Major }}"
# - "kristofferahl/aeto:v{{ .Major }}.{{ .Minor }}"
- "kristofferahl/aeto:latest"
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- "^.vscode:"
- "^hack:"