forked from xinity/falco-talon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
53 lines (45 loc) · 932 Bytes
/
.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
project_name: falco-talon
env:
- GO111MODULE=on
- CGO_ENABLED=1
- DOCKER_CLI_EXPERIMENTAL=enabled
- COSIGN_EXPERIMENTAL=true
# Prevents parallel builds from stepping on each others toes downloading modules
before:
hooks:
- go mod tidy
gomod:
proxy: true
builds:
- id: falco-talon
main: .
flags:
- -trimpath
mod_timestamp: '{{ .CommitTimestamp }}'
goos:
- linux
goarch:
- amd64
- arm64
- arm
- s390x
- ppc64le
goarm:
- '7'
env:
- CGO_ENABLED=0
ldflags:
- "{{ .Env.LDFLAGS }}"
archives:
- format: binary
name_template: "{{ .Binary }}"
allow_different_binary_count: true
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
snapshot:
name_template: latest
release:
prerelease: allow # remove this when we start publishing non-prerelease or set to auto
draft: true # allow for manual edits
footer: |
### Thanks for all contributors!