This repository has been archived by the owner on Jan 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.goreleaser.yml
97 lines (89 loc) · 2.55 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
87
88
89
90
91
92
93
94
95
96
97
before:
hooks:
- go mod download
builds:
- &build
id: "attache-check-build"
binary: "attache-check"
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
goarm:
- "6"
- "7"
main: ./cmd/attache-check
- <<: *build
id: "attache-control-build"
binary: "attache-control"
main: ./cmd/attache-control
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
"386": i386
amd64: x86_64
allow_different_binary_count: true
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
dockers:
- id: "attache-check-docker"
ids:
- "attache-check-build"
image_templates:
- "ghcr.io/letsencrypt/attache-check:{{ .Tag }}"
- "ghcr.io/letsencrypt/attache-check:v{{ .Major }}"
- "ghcr.io/letsencrypt/attache-check:v{{ .Major }}.{{ .Minor }}"
- "ghcr.io/letsencrypt/attache-check:latest"
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title=attache-check"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--build-arg=BINARY_NAME=attache-check"
dockerfile: Dockerfile
- id: "attache-control-docker"
ids:
- "attache-control-build"
image_templates:
- "ghcr.io/letsencrypt/attache-control:{{ .Tag }}"
- "ghcr.io/letsencrypt/attache-control:v{{ .Major }}"
- "ghcr.io/letsencrypt/attache-control:v{{ .Major }}.{{ .Minor }}"
- "ghcr.io/letsencrypt/attache-control:latest"
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title=attache-control"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--build-arg=BINARY_NAME=attache-control"
dockerfile: Dockerfile
nfpms:
- id: attache-nfpm
package_name: attache
builds:
- attache-check-build
- attache-control-build
maintainer: Let's Encrypt <[email protected]>
description: A sidecar that allows for effortless scaling of Redis Clusters using Hashicorp Nomad and Consul.
homepage: https://github.com/letsencrypt/attache
license: Mozilla Public License Version 2.0
formats:
- deb
- rpm
- apk