-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.goreleaser.yaml
38 lines (35 loc) · 946 Bytes
/
.goreleaser.yaml
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
env:
- CGO_ENABLED=0
- GOFLAGS=-mod=readonly
builds:
- id: cloudflare-access-controller
main: cmd/main.go
binary: cloudflare-access-controller
goos:
- linux
- darwin
goarch:
- amd64
- arm64
dockers:
- ids:
- cloudflare-access-controller
image_templates:
- "ghcr.io/dingggu/cloudflare-access-controller:latest"
- "ghcr.io/dingggu/cloudflare-access-controller:{{ .Version }}"
build_flag_templates:
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--label=org.opencontainers.image.source=https://github.com/DingGGu/cloudflare-access-controller"
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "snapshot-{{ .ShortCommit }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'