-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy path.goreleaser.yml
More file actions
97 lines (85 loc) · 1.68 KB
/
.goreleaser.yml
File metadata and controls
97 lines (85 loc) · 1.68 KB
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
version: 2
project_name: wrp
before:
hooks:
- go mod tidy
builds:
- main: .
binary: wrp
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- freebsd
- openbsd
- windows
goarch:
- amd64
- arm64
- arm
goarm:
- "7"
ignore:
- goos: darwin
goarch: arm
- goos: windows
goarch: arm
ldflags:
- -s -w
archives:
- formats:
- tar.gz
format_overrides:
- goos: windows
formats:
- zip
dockers:
- image_templates:
- "tenox7/wrp:{{ .Tag }}-amd64"
- "tenox7/wrp:latest-amd64"
use: buildx
goarch: amd64
dockerfile: Dockerfile.goreleaser
build_flag_templates:
- "--platform=linux/amd64"
- image_templates:
- "tenox7/wrp:{{ .Tag }}-arm64"
- "tenox7/wrp:latest-arm64"
use: buildx
goarch: arm64
dockerfile: Dockerfile.goreleaser
build_flag_templates:
- "--platform=linux/arm64"
docker_manifests:
- name_template: "tenox7/wrp:{{ .Tag }}"
image_templates:
- "tenox7/wrp:{{ .Tag }}-amd64"
- "tenox7/wrp:{{ .Tag }}-arm64"
- name_template: "tenox7/wrp:latest"
image_templates:
- "tenox7/wrp:latest-amd64"
- "tenox7/wrp:latest-arm64"
nfpms:
- package_name: wrp
vendor: Antoni Sawicki
homepage: https://github.com/tenox7/wrp
maintainer: Antoni Sawicki <as@tenoware.com>
description: Web Rendering Proxy
license: Apache-2.0
formats:
- deb
- rpm
- apk
checksum:
name_template: "checksums.txt"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
release:
github:
owner: tenox7
name: wrp