forked from falcosecurity/falcosidekick-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
44 lines (39 loc) · 944 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: falcosidekick-ui
before:
hooks:
- go mod tidy
- make frontend
builds:
- id: "falcosidekick-ui"
goos:
- linux
goarch:
- amd64
main: main.go
flags:
- -trimpath
env:
- CGO_ENABLED=0
binary: falcosidekick-ui
dockers:
- goos: linux
goarch: amd64
dockerfile: Dockerfile
image_templates:
- "falcosecurity/falcosidekick-ui:latest"
- "falcosecurity/falcosidekick-ui:v{{ .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=v{{.Version}}"
extra_files:
- frontend/dist
- LICENSE
release:
github:
owner: falcosecurity
name: falcosidekick-ui
prerelease: auto
dist: dist-goreleaser