-
Notifications
You must be signed in to change notification settings - Fork 19
/
goreleaser.yml
49 lines (44 loc) · 1.15 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
# View goreleaser docs for configuration settings
# https://goreleaser.com
---
project_name: stolon-pgbouncer
builds:
- binary: stolon-pgbouncer
main: cmd/stolon-pgbouncer/main.go
goos:
- darwin
- linux
goarch:
- amd64
ldflags: >
-X main.Version={{.Version}}
-X main.Commit={{.Commit}}
-X main.Date={{.Date}}
-a
-installsuffix cgo
env:
- CGO_ENABLED=0
dockers:
- image: gocardless/stolon-pgbouncer
dockerfile: Dockerfile
image_templates:
- gocardless/stolon-pgbouncer:latest
- gocardless/stolon-pgbouncer:{{ .Tag }}
- gocardless/stolon-pgbouncer:{{ .Commit }}
brew:
github:
owner: gocardless
name: homebrew-taps
commit_author:
name: GoCardless Engineering (goreleaser)
email: engineering@gocardless.com
folder: Formula
homepage: https://github.com/gocardless/stolon-pgbouncer
description: &description Stolon add-on for running PgBouncer
nfpm:
vendor: GoCardless
homepage: https://github.com/gocardless/stolon-pgbouncer
maintainer: GoCardless Engineering <engineering@gocardless.com>
description: *description
formats:
- deb