forked from mittwald/mittnite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
62 lines (62 loc) · 1.48 KB
/
.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
project_name: mittnite
before:
hooks:
- go mod download
- go test ./...
builds:
- env:
- CGO_ENABLED=0
binary: mittnite
ldflags:
- -s -w -X cmd.Version={{ .Version }} -X cmd.Commit={{ .Commit }} -X cmd.BuiltAt={{ .Date }}
goos:
- darwin
- linux
goarch:
- amd64
archives:
- replacements:
darwin: macos
linux: linux
windows: windows
386: i386
amd64: x86_64
nfpms:
- vendor: Mittwald CM Service
homepage: https://github.com/mittwald/mittnite
maintainer: Martin Helmich <[email protected]>
description: Smart and small init system for containers
license: Proprietary
formats:
- deb
- rpm
bindir: /usr/bin
empty_folders:
- /etc/mittnite.d
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
dockers:
-
image_templates:
- quay.io/mittwald/mittnite:v{{ .Major }}
- quay.io/mittwald/mittnite:v{{ .Major }}.{{ .Minor }}
- quay.io/mittwald/mittnite:{{ .Tag }}
- quay.io/mittwald/mittnite:stable
- quay.io/mittwald/mittnite:latest
- quay.io/mittwald/mittnite:v{{ .Major }}-alpine
- quay.io/mittwald/mittnite:v{{ .Major }}.{{ .Minor }}-alpine
- quay.io/mittwald/mittnite:{{ .Tag }}-alpine
- quay.io/mittwald/mittnite:stable-alpine
binaries:
- mittnite
goos: linux
goarch: amd64
goarm: ''