forked from ory/oathkeeper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
95 lines (85 loc) · 1.93 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
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
project_name: oathkeeper
env:
- GO111MODULE=on
before:
hooks:
- go mod download
- go install github.com/gobuffalo/packr/v2/packr2
- packr2
builds:
-
flags:
- -a
ldflags:
- -s -w -X github.com/ory/oathkeeper/x.Version={{.Tag}} -X github.com/ory/oathkeeper/x.Commit={{.FullCommit}} -X github.com/ory/oathkeeper/x.Date={{.Date}}
binary: oathkeeper
env:
- CGO_ENABLED=0
goarch:
- amd64
- 386
- arm
- arm64
goarm:
- 5
- 6
- 7
goos:
- freebsd
- linux
- windows
- darwin
archives:
-
replacements:
darwin: macOS
386: 32-bit
amd64: 64-bit
format_overrides:
- goos: windows
format: zip
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
brews:
-
tap:
owner: ory
name: homebrew-oathkeeper
homepage: https://www.ory.sh
goarm: 6
commit_author:
name: aeneasr
email: [email protected]
scoop:
bucket:
owner: ory
name: scoop-oathkeeper
homepage: https://www.ory.sh
commit_author:
name: aeneasr
email: [email protected]
dockers:
- dockerfile: Dockerfile
ids:
- oathkeeper
image_templates:
- "oryd/oathkeeper:v{{ .Major }}"
- "oryd/oathkeeper:v{{ .Major }}.{{ .Minor }}"
- "oryd/oathkeeper:v{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
- "oryd/oathkeeper:{{ .Tag }}"
- "oryd/oathkeeper:latest"
- dockerfile: Dockerfile-alpine
ids:
- oathkeeper
image_templates:
- "oryd/oathkeeper:v{{ .Major }}-alpine"
- "oryd/oathkeeper:v{{ .Major }}.{{ .Minor }}-alpine"
- "oryd/oathkeeper:v{{ .Major }}.{{ .Minor }}.{{ .Patch }}-alpine"
- "oryd/oathkeeper:{{ .Tag }}-alpine"
- "oryd/oathkeeper:latest-alpine"
release:
prerelease: auto