forked from ContainerSSH/libcontainerssh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
97 lines (97 loc) · 2.11 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
before:
hooks:
- go vet
- go generate
- go test
builds:
- id: containerssh
main: cmd/containerssh/main.go
binary: "containerssh"
goos:
- freebsd
- windows
- darwin
- linux
goarch:
- amd64
env:
- CGO_ENABLED=0
- id: containerssh-auditlog-decoder
main: cmd/containerssh-auditlog-decoder/main.go
binary: "containerssh-auditlog-decoder"
goos:
- freebsd
- windows
- darwin
- linux
goarch:
- amd64
env:
- CGO_ENABLED=0
- id: containerssh-testauthconfigserver
main: cmd/containerssh-testauthconfigserver/main.go
binary: "containerssh-testauthconfigserver"
goos:
- freebsd
- windows
- darwin
- linux
goarch:
- amd64
env:
- CGO_ENABLED=0
archives:
- builds:
- containerssh
- containerssh-auditlog-decoder
- containerssh-testauthconfigserver
format_overrides:
- goos: windows
format: zip
files:
- LICENSE.md
- NOTICE.md
- config.example.yaml
nfpms:
- vendor: ContainerSSH
homepage: https://containerssh.io
maintainer: Janos Pasztor <[email protected]>
description: An SSH server that launches Docker containers and Kubernetes pods
license: MIT
builds:
- containerssh
- containerssh-testauthconfigserver
- containerssh-auditlog-decoder
formats:
- deb
- rpm
- apk
empty_folders:
- /etc/containerssh
bindir: /usr/sbin
suggests:
- docker
contents:
- src: config.example.yaml
dst: /etc/containerssh/config.yaml
type: config
- src: LICENSE.md
dst: /usr/share/doc/containerssh/LICENSE.md
- src: NOTICE.md
dst: /usr/share/doc/containerssh/NOTICE.md
signs:
- id: sign-all
artifacts: all
source:
enabled: true
name_template: '{{ .ProjectName }}-{{ .Version }}-source'
dist: build
release:
github:
owner: containerssh
name: containerssh
prerelease: auto
extra_files:
- glob: LICENSE.md
- glob: NOTICE.md
- glob: containerssh-authconfig-openapi.json