Skip to content

Commit

Permalink
Fix and update pipeline (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpattmann authored May 10, 2024
1 parent c49b3f6 commit f0e4229
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
11 changes: 7 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ builds:
- amd64

archives:
- replacements:
linux: Linux
386: i386
amd64: x86_64
- name_template: >-
{{- .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
checksum:
name_template: 'checksums.txt'
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.15.3-alpine3.12 as build
FROM golang:1.21-alpine as build

WORKDIR /src/prometheus-timestream-adapter
ADD . /src/prometheus-timestream-adapter
Expand Down

0 comments on commit f0e4229

Please sign in to comment.