forked from telekom/sparrow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
41 lines (41 loc) · 1.51 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
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/caas-team/sparrow:latest"
- "ghcr.io/caas-team/sparrow:{{ .Tag }}"
- "ghcr.io/caas-team/sparrow:v{{ .Major }}.{{ .Minor }}"
- "ghcr.io/caas-team/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/caas-team/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 <[email protected]>
description: |-
Monitoring tool to gather infrastructure network information
homepage: https://github.com/caas-team
license: Apache 2.0
formats:
- deb
- rpm
- apk