-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.goreleaser.yml
86 lines (74 loc) · 1.76 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: 2
report_sizes: true
builds:
- id: gemini
goos:
- linux
binary: gemini
no_unique_dist_dir: false
env:
- CGO_ENABLED=0
- CFLAGS="-O3"
- CXXFLAGS="-O3"
goarch:
- amd64
- arm64
main: ./cmd/gemini
goamd64:
- v3 # v3 Enables AMD64 SIMD (SSE4.x,AVX2) optimizations
goarm64:
- v8.3 # ARM crypto extension for RANDOM Number generation
archives:
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
files:
- README.md
- CHANGELOG.md
- LICENSE
source:
enabled: true
format: 'tar.gz'
checksum:
name_template: 'checksums.txt'
snapshot:
version_template: '{{ .Tag }}-next'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
dockers:
- image_templates:
- scylladb/gemini:{{ .Version }}-amd64
goarch: amd64
goamd64: v3
goos: linux
id: gemini-amd64
build_flag_templates:
- '--platform=linux/amd64/v3'
- '--target=production-goreleaser'
- image_templates:
- scylladb/gemini:{{ .Version }}-arm64v8
goarch: arm64
id: gemini-arm
goos: linux
build_flag_templates:
- '--platform=linux/arm64/v8'
- '--target=production-goreleaser'
docker_manifests:
- name_template: 'scylladb/gemini:{{ .Version }}'
skip_push: false
image_templates:
- 'scylladb/gemini:{{ .Version }}-amd64'
- 'scylladb/gemini:{{ .Version }}-arm64v8'
- name_template: 'scylladb/gemini:latest'
skip_push: false
image_templates:
- 'scylladb/gemini:{{ .Version }}-amd64'
- 'scylladb/gemini:{{ .Version }}-arm64v8'
release:
mode: keep-existing
make_latest: true
prerelease: auto
skip_upload: false
include_meta: true