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+ - 7
28+ ignore :
29+ - goos : darwin
30+ goarch : 386
31+ - goos : darwin
32+ goarch : arm
33+ - goos : freebsd
34+ goarch : 386
35+ - goos : freebsd
36+ goarch : arm
37+ - goos : freebsd
38+ goarch : arm64
39+ - goos : windows
40+ goarch : arm
41+ - goos : windows
42+ goarch : arm64
43+
44+ dockers :
45+ - image_templates :
46+ - " ghcr.io/shazow/ssh-chat:latest"
47+ - " ghcr.io/shazow/ssh-chat:{{ .Version }}"
48+ ids : [ssh-chat]
49+ goarch : amd64
50+ build_flag_templates :
51+ - --platform=linux/amd64
52+ - --label=org.opencontainers.image.title={{ .ProjectName }}
53+ - --label=org.opencontainers.image.description={{ .ProjectName }}
54+ - --label=org.opencontainers.image.url=https://github.com/shazow/ssh-chat
55+ - --label=org.opencontainers.image.source=https://github.com/shazow/ssh-chat
56+ - --label=org.opencontainers.image.version={{ .Version }}
57+ - --label=org.opencontainers.image.created={{ .Date }}
58+ - --label=org.opencontainers.image.revision={{ .FullCommit }}
59+ - --label=org.opencontainers.image.licenses=MIT
60+ dockerfile : Dockerfile.goreleaser
61+ use : buildx
62+ - image_templates :
63+ - " ghcr.io/shazow/ssh-chat:latest"
64+ - " ghcr.io/shazow/ssh-chat:{{ .Version }}"
65+ ids : [ssh-chat]
66+ goarch : arm64
67+ build_flag_templates :
68+ - --platform=linux/arm64
69+ - --label=org.opencontainers.image.title={{ .ProjectName }}
70+ - --label=org.opencontainers.image.description={{ .ProjectName }}
71+ - --label=org.opencontainers.image.url=https://github.com/shazow/ssh-chat
72+ - --label=org.opencontainers.image.source=https://github.com/shazow/ssh-chat
73+ - --label=org.opencontainers.image.version={{ .Version }}
74+ - --label=org.opencontainers.image.created={{ .Date }}
75+ - --label=org.opencontainers.image.revision={{ .FullCommit }}
76+ - --label=org.opencontainers.image.licenses=MIT
77+ dockerfile : Dockerfile.goreleaser
78+ use : buildx
79+
80+ nfpms :
81+ -
maintainer :
Andrey Petrov <[email protected] > 82+ description : " {{ .ProjectName }}"
83+ homepage : https://github.com/shazow/ssh-chat
84+ license : MIT
85+ formats :
86+ - deb
87+ - rpm
88+
89+ archives :
90+ - id : ssh-chat
91+ builds :
92+ - ssh-chat
93+ format : tar.gz
94+ format_overrides :
95+ - goos : windows
96+ format : zip
97+ files :
98+ - LICENSE*
99+ - README*
100+ - CHANGELOG*
101+ - dist/*.deb
102+ - dist/*.rpm
103+
104+ release :
105+ github :
106+ owner : shazow
107+ name : ssh-chat
108+ ids : [ssh-chat]
109+ prerelease : auto
110+
111+ changelog :
112+ sort : asc
113+ filters :
114+ exclude :
115+ - ' ^docs:'
116+ - typo
0 commit comments