-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
73 lines (63 loc) · 1.6 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
project_name: blockspeed
release:
prerelease: auto
builds:
-
main: .
id: bs6
binary: bs6
goos:
- freebsd
- windows
- darwin
- linux
goarch:
- amd64
- arm64
ldflags:
- -s -w
nfpms:
-
vendor: Distributed Works
homepage: https://distrib.works
maintainer: Victor Castell <victor@distrib.works>
description: Blockchain performance testing platform based on k6
license: AGPL-3.0
formats:
- deb
- rpm
overrides:
rpm:
replacements:
amd64: x86_64
snapshot:
name_template: "{{ .Tag }}-next"
dockers:
- image_templates:
- ghcr.io/distribworks/{{ .ProjectName }}:{{ .Version }}-amd64
dockerfile: Dockerfile.release
use: buildx
goos: linux
goarch: amd64
ids: &docker-ids
- bs6
build_flag_templates:
- --platform=linux/amd64
- image_templates:
- ghcr.io/distribworks/{{ .ProjectName }}:{{ .Version }}-arm64v8
dockerfile: Dockerfile.release
use: buildx
goos: linux
goarch: arm64
ids: *docker-ids
build_flag_templates:
- --platform=linux/arm64/v8
docker_manifests:
- name_template: ghcr.io/distribworks/{{ .ProjectName }}:{{ .Version }}
image_templates:
- ghcr.io/distribworks/{{ .ProjectName }}:{{ .Version }}-amd64
- ghcr.io/distribworks/{{ .ProjectName }}:{{ .Version }}-arm64v8
- name_template: ghcr.io/distribworks/{{ .ProjectName }}:latest
image_templates:
- ghcr.io/distribworks/{{ .ProjectName }}:{{ .Version }}-amd64
- ghcr.io/distribworks/{{ .ProjectName }}:{{ .Version }}-arm64v8