forked from falcosecurity/event-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
44 lines (42 loc) · 911 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
project_name: event-generator
before:
hooks:
- make prepare
builds:
- id: "event-generator"
goos:
- linux
goarch:
- amd64
- 386
main: .
env:
- CGO_ENABLED=0
binary: event-generator
dockers:
-
goos: linux
goarch: amd64
dockerfile: Dockerfile
image_templates:
- "falcosecurity/event-generator:latest"
- "falcosecurity/event-generator:{{ .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:
- .git
- cmd
- pkg
- events
- tools
- go.mod
- go.sum
- main.go
- Makefile
release:
github:
prerelease: auto