forked from parseablehq/pb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
50 lines (47 loc) · 1.14 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
env:
- GO111MODULE=on
- CGO_ENABLED=0
builds:
- binary: pb
id: pb
main: ./main.go
goos:
- windows
- darwin
- linux
goarch:
- amd64
- arm64
flags:
- -trimpath
- -tags=kqueue
ldflags:
- -s -w -X main.Version=v{{ .Version }} -X main.Commit={{ .ShortCommit }}
archives:
- format: tar.gz
rlcp: true
files:
- README.md
- LICENSE
dockers:
- id: pb
goos: linux
goarch: amd64
ids:
- pb
image_templates:
- "parseable/pb:{{ .Tag }}"
- "parseable/pb:latest"
skip_push: false
dockerfile: Dockerfile
use: docker
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title=Parseable"
- "--label=maintainer=Parseable Team <[email protected]>"
- "--label=org.opencontainers.image.vendor=Cloudnatively Pvt Ltd"
- "--label=org.opencontainers.image.licenses=AGPL-3.0"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--platform=linux/amd64"