-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.goreleaser.yml
53 lines (46 loc) · 988 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
- DOCKER_CLI_EXPERIMENTAL=enabled
- DOCKER_BUILDKIT=1
- BUILDX_PLATFORMS=linux/amd64,linux/arm64
- COSIGN_YES=true
snapshot:
name_template: 'latest'
checksum:
name_template: 'checksums.txt'
# Prevents parallel builds from stepping on each others toes downloading modules
before:
hooks:
- go mod tidy
- /bin/bash -c 'if [ -n "$(git --no-pager diff --exit-code go.mod go.sum)" ]; then exit 1; fi'
builds:
- id: "falco-talon"
goos:
- linux
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
flags:
- -trimpath
ldflags:
- "{{ .Env.LDFLAGS }}"
binary: falco-talon
kos:
- id: falco-talon
repository: falcosecurity/falco-talon
tags:
- '{{.Version}}'
- latest
bare: true
preserve_import_paths: false
platforms:
- linux/amd64
- linux/arm64
release:
github:
owner: falcosecurity
name: falco-talon
prerelease: auto