-
Notifications
You must be signed in to change notification settings - Fork 3
/
goreleaser-e2e.yaml
58 lines (58 loc) · 1.64 KB
/
goreleaser-e2e.yaml
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
54
55
56
57
58
release:
draft: false
prerelease: auto
env:
- GO111MODULE=on
- CGO_ENABLED=0
before:
hooks:
- go mod download
builds:
- id: node-collector
main: ./cmd/node-collector/main.go
binary: node-collector
goos:
- linux
goarch:
- amd64
- arm64
goarm:
- "7"
archives:
- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
builds:
- node-collector
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .FullCommit }}"
changelog:
sort: asc
filters:
exclude:
- '^docs'
- '^test'
- '^release'
dockers:
- image_templates:
- "ghcr.io/aquasecurity/node-collector:{{ .Version }}-amd64"
use: buildx
goos: linux
dockerfile: build/node-collector/Dockerfile
goarch: amd64
ids:
- node-collector
build_flag_templates:
- "--label=org.opencontainers.image.title=node-collector"
- "--label=org.opencontainers.image.description=collect node info"
- "--label=org.opencontainers.image.vendor=Aqua Security"
- "--label=org.opencontainers.image.version={{ .Version }}"
- "--label=org.opencontainers.image.created={{ .Date }}"
- "--label=org.opencontainers.image.source=https://github.com/aquasecurity/node-collector"
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
- "--label=org.opencontainers.image.documentation=https://aquasecurity.github.io/node-collector/v{{ .Version }}/"
- "--platform=linux/amd64"
docker_manifests:
- name_template: "ghcr.io/aquasecurity/node-collector:{{ .Version }}"
image_templates:
- "ghcr.io/aquasecurity/node-collector:{{ .Version }}-amd64"