forked from ContainerSSH/ContainerSSH
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
99 lines (99 loc) · 2.16 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
98
99
before:
hooks:
- go generate
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
- 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
bindir: /usr/sbin
suggests:
- docker
contents:
- src: config.example.yaml
dst: /etc/containerssh/config.yaml
type: config
- src: LICENSE
dst: /usr/share/doc/containerssh/LICENSE
- src: NOTICE.md
dst: /usr/share/doc/containerssh/NOTICE.md
- dst: /etc/containerssh
type: dir
file_info:
owner: root
group: root
mode: 0755
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
- glob: NOTICE.md
- glob: containerssh-authconfig-openapi.json