-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.goreleaser.yaml
47 lines (47 loc) · 1.59 KB
/
.goreleaser.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
version: 2
project_name: sparrow
builds:
- env: [CGO_ENABLED=0]
ldflags:
- -s -w -X main.version={{ .Tag }}
- -extldflags "-static"
goos:
- linux
goarch:
- amd64
- arm64
dockers:
- image_templates:
- "ghcr.io/telekom/sparrow:latest"
- "ghcr.io/telekom/sparrow:{{ .Tag }}"
- "ghcr.io/telekom/sparrow:v{{ .Major }}.{{ .Minor }}"
- "ghcr.io/telekom/sparrow:v{{ .Major }}"
- "mtr.devops.telekom.de/sparrow/sparrow:latest"
- "mtr.devops.telekom.de/sparrow/sparrow:{{ .Tag }}"
- "mtr.devops.telekom.de/sparrow/sparrow:v{{ .Major }}.{{ .Minor }}"
- "mtr.devops.telekom.de/sparrow/sparrow:v{{ .Major }}"
dockerfile: Dockerfile
build_flag_templates:
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.description={{ .ProjectName }}
- --label=org.opencontainers.image.url=https://caas.telekom.de
- --label=org.opencontainers.image.source=https://github.com/telekom/sparrow
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.created={{ .Timestamp }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses="Apache 2.0"
nfpms:
- maintainer: CaaS <opensource@telekom.de>
description: |-
Monitoring tool to gather infrastructure network information
homepage: https://github.com/telekom
license: Apache 2.0
formats:
- deb
- rpm
- apk
sboms:
- id: archive
artifacts: archive
- id: source
artifacts: source