File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 30
30
uses : goreleaser/goreleaser-action@v5
31
31
with :
32
32
version : latest
33
- args : release --rm-dist
33
+ args : release --clean
34
34
env :
35
35
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36
36
Original file line number Diff line number Diff line change @@ -13,10 +13,13 @@ builds:
13
13
- amd64
14
14
15
15
archives :
16
- - replacements :
17
- linux : Linux
18
- 386 : i386
19
- amd64 : x86_64
16
+ - name_template : >-
17
+ {{- .ProjectName }}_
18
+ {{- title .Os }}_
19
+ {{- if eq .Arch "amd64" }}x86_64
20
+ {{- else if eq .Arch "386" }}i386
21
+ {{- else }}{{ .Arch }}{{ end }}
22
+ {{- if .Arm }}v{{ .Arm }}{{ end -}}
20
23
21
24
checksum :
22
25
name_template : ' checksums.txt'
Original file line number Diff line number Diff line change 1
- FROM golang:1.15.3-alpine3.12 as build
1
+ FROM golang:1.21-alpine as build
2
2
3
3
WORKDIR /src/prometheus-timestream-adapter
4
4
ADD . /src/prometheus-timestream-adapter
You can’t perform that action at this time.
0 commit comments