forked from falcosecurity/falco-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
40 lines (38 loc) · 871 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
project_name: falco-exporter
before:
hooks:
- go mod tidy
builds:
- id: "falco-exporter"
goos:
- linux
goarch:
- amd64
- 386
main: ./cmd/falco-exporter
env:
- CGO_ENABLED=0
binary: falco-exporter
dockers:
-
goos: linux
goarch: amd64
dockerfile: build/Dockerfile
image_templates:
- "falcosecurity/falco-exporter:latest"
- "falcosecurity/falco-exporter:{{ .Version }}"
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.name={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
extra_files:
- cmd
- pkg
- go.mod
- go.sum
- Makefile
release:
github:
prerelease: auto