File tree 3 files changed +12
-18
lines changed
3 files changed +12
-18
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ cmd/gemini/dist/
4
4
.vscode
5
5
bin /
6
6
coverage.txt
7
+ dist /
Original file line number Diff line number Diff line change 5
5
before :
6
6
hooks :
7
7
- go mod download
8
+
8
9
builds :
9
- -
10
+ - id : gemini
11
+ ldflags : -s -w
12
+ main : ./cmd/gemini
10
13
env :
11
14
- CGO_ENABLED=0
12
15
goos :
13
16
- linux
14
17
goarch :
15
18
- amd64
19
+
16
20
archives :
17
21
- name_template : ' {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
18
22
19
23
checksum :
20
24
name_template : ' checksums.txt'
21
25
22
26
snapshot :
23
- name_template : " {{ .Tag }}-next"
27
+ name_template : ' {{ .Tag }}-next'
24
28
25
29
changelog :
26
30
sort : asc
27
31
filters :
28
32
exclude :
29
- - ' ^docs:'
30
- - ' ^test:'
33
+ - ' ^docs:'
34
+ - ' ^test:'
31
35
32
36
dockers :
33
37
- image_templates :
34
- - scylladb/gemini:{{ .Tag }}
38
+ - scylladb/gemini:{{ .Version }}
35
39
- scylladb/gemini:latest
Original file line number Diff line number Diff line change 1
- FROM golang:1.23 AS builder
2
-
3
- ENV GO111MODULE=on
4
-
5
- WORKDIR /gemini
6
-
7
- COPY . .
8
-
9
- RUN apt-get update && apt-get install -y libc-dev build-essential \
10
- && make build
11
-
12
- FROM busybox AS production
1
+ FROM busybox
13
2
14
3
WORKDIR /gemini
15
4
16
- COPY --from=builder /gemini/bin/ gemini .
5
+ COPY gemini .
17
6
18
7
ENV PATH="/gemini:${PATH}"
19
8
You can’t perform that action at this time.
0 commit comments