-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yaml
35 lines (35 loc) · 1.08 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
project_name: wrench
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -s -w -X main.VERSION={{.Version}}
goos:
- linux
- darwin
goarch:
- amd64
- arm64
dockers:
- image_templates:
- "tomologic/wrench:{{ .Version }}"
- "tomologic/wrench:latest"
dockerfile: Dockerfile
build_flag_templates:
- --label=org.opencontainers.image.created={{.Date}}
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.description={{ .ProjectName }}
- --label=org.opencontainers.image.url=https://github.com/tomologic/wrench
- --label=org.opencontainers.image.source=https://github.com/tomologic/wrench
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=UNLICENSE
nfpms:
- maintainer: Tomologic Ops <[email protected]>
description: Wrench
homepage: https://github.com/tomologic/wrench
license: UNLICENSE
formats:
- deb
- rpm
- apk