forked from grpc-ecosystem/grpc-health-probe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yml
More file actions
57 lines (53 loc) · 1.53 KB
/
Copy path.goreleaser.yml
File metadata and controls
57 lines (53 loc) · 1.53 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
version: 2
before:
hooks:
- go mod download
builds:
- main: .
binary: grpc_health_probe
flags: ["-tags=netgo"] # sync changes to .ko.yml
ldflags: ["-w -X main.versionTag={{.Version}}"] # sync changes to .ko.yml
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- "386"
- amd64
- arm
- arm64
- ppc64le
- s390x
- riscv64
ignore:
- {goos: "darwin", goarch: "386"}
- {goos: "darwin", goarch: "riscv64"}
- {goos: "windows", goarch: "386"}
- {goos: "windows", goarch: "arm"}
- {goos: "windows", goarch: "riscv64"}
goarm: ["6"]
checksum:
name_template: "checksums.txt"
algorithm: sha256
archives:
- formats: [ binary ]
name_template: "{{ .Binary }}-{{ .Os }}-{{ .Arch }}"
kos: # See https://goreleaser.com/customization/ko/
- tags:
- '{{.Tag}}'
bare: true
preserve_import_paths: false
base_image: "gcr.io/distroless/static:nonroot"
platforms:
- linux/amd64
- linux/arm/v7
- linux/arm64/v8
- linux/ppc64le
- linux/s390x
release:
footer: |
**Container Image** in [{{ .Env.KO_DOCKER_REPO }}](https://{{ .Env.KO_DOCKER_REPO }}): `{{ .Env.KO_DOCKER_REPO }}:{{ .Tag }}`
**Full Changelog**: https://github.com/grpc-ecosystem/grpc-health-probe/compare/{{ .PreviousTag }}...{{ .Tag }}
**Open Source Insights**: [{{ .Tag }}](https://deps.dev/go/github.com%2Fgrpc-ecosystem%2Fgrpc-health-probe/{{ .Tag }}) (compare to [{{ .PreviousTag }}](https://deps.dev/go/github.com%2Fgrpc-ecosystem%2Fgrpc-health-probe/{{ .PreviousTag }}/compare?v2={{ .Tag }}))