Skip to content

Commit f0e4229

Browse files
authored
Fix and update pipeline (#367)
1 parent c49b3f6 commit f0e4229

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/workflows/defaults.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: goreleaser/goreleaser-action@v5
3131
with:
3232
version: latest
33-
args: release --rm-dist
33+
args: release --clean
3434
env:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3636

.goreleaser.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ builds:
1313
- amd64
1414

1515
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 -}}
2023
2124
checksum:
2225
name_template: 'checksums.txt'

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.15.3-alpine3.12 as build
1+
FROM golang:1.21-alpine as build
22

33
WORKDIR /src/prometheus-timestream-adapter
44
ADD . /src/prometheus-timestream-adapter

0 commit comments

Comments
 (0)