1+ project_name : ssh-chat
2+
3+ env :
4+ - GO111MODULE=on
5+ - CGO_ENABLED=0
6+
7+ before :
8+ hooks :
9+ - go mod download
10+
11+ builds :
12+ - id : " ssh-chat"
13+ dir : " ./cmd/ssh-chat"
14+ binary : " ssh-chat"
15+ ldflags : -X main.Version={{ .Version }} -extldflags "-static"
16+ goos :
17+ - linux
18+ - windows
19+ - freebsd
20+ - darwin
21+ goarch :
22+ - amd64
23+ - 386
24+ - arm
25+ - arm64
26+ goarm :
27+ - 6
28+ - 7
29+ ignore :
30+ - goos : darwin
31+ goarch : 386
32+ - goos : darwin
33+ goarch : arm
34+ - goos : freebsd
35+ goarch : 386
36+ - goos : freebsd
37+ goarch : arm
38+ - goos : freebsd
39+ goarch : arm64
40+ - goos : windows
41+ goarch : arm
42+ - goos : windows
43+ goarch : arm64
44+
45+ dockers :
46+ - image_templates :
47+ - " ghcr.io/shazow/ssh-chat:latest"
48+ - " ghcr.io/shazow/ssh-chat:{{ .Version }}"
49+ ids : [ssh-chat]
50+ goarch : amd64
51+ build_flag_templates :
52+ - --platform=linux/amd64
53+ - --label=org.opencontainers.image.title={{ .ProjectName }}
54+ - --label=org.opencontainers.image.description={{ .ProjectName }}
55+ - --label=org.opencontainers.image.url=https://github.com/shazow/ssh-chat
56+ - --label=org.opencontainers.image.source=https://github.com/shazow/ssh-chat
57+ - --label=org.opencontainers.image.version={{ .Version }}
58+ - --label=org.opencontainers.image.created={{ .Date }}
59+ - --label=org.opencontainers.image.revision={{ .FullCommit }}
60+ - --label=org.opencontainers.image.licenses=MIT
61+ dockerfile : Dockerfile.goreleaser
62+ use : buildx
63+ - image_templates :
64+ - " ghcr.io/shazow/ssh-chat:latest"
65+ - " ghcr.io/shazow/ssh-chat:{{ .Version }}"
66+ ids : [ssh-chat]
67+ goarch : arm64
68+ build_flag_templates :
69+ - --platform=linux/arm64
70+ - --label=org.opencontainers.image.title={{ .ProjectName }}
71+ - --label=org.opencontainers.image.description={{ .ProjectName }}
72+ - --label=org.opencontainers.image.url=https://github.com/shazow/ssh-chat
73+ - --label=org.opencontainers.image.source=https://github.com/shazow/ssh-chat
74+ - --label=org.opencontainers.image.version={{ .Version }}
75+ - --label=org.opencontainers.image.created={{ .Date }}
76+ - --label=org.opencontainers.image.revision={{ .FullCommit }}
77+ - --label=org.opencontainers.image.licenses=MIT
78+ dockerfile : Dockerfile.goreleaser
79+ use : buildx
80+
81+ nfpms :
82+ -
maintainer :
Andrey Petrov <[email protected] > 83+ description : " {{ .ProjectName }}"
84+ homepage : https://github.com/shazow/ssh-chat
85+ license : MIT
86+ formats :
87+ - deb
88+ - rpm
89+
90+ archives :
91+ - id : ssh-chat
92+ builds :
93+ - ssh-chat
94+ format : tar.gz
95+ format_overrides :
96+ - goos : windows
97+ format : zip
98+ files :
99+ - LICENSE*
100+ - README*
101+ - CHANGELOG*
102+ - dist/*.deb
103+ - dist/*.rpm
104+
105+ release :
106+ github :
107+ owner : shazow
108+ name : ssh-chat
109+ ids : [ssh-chat]
110+ prerelease : auto
111+
112+ changelog :
113+ sort : asc
114+ filters :
115+ exclude :
116+ - ' ^docs:'
117+ - typo
0 commit comments