Skip to content

Commit

Permalink
Fix deprecated GoRelease replacements
Browse files Browse the repository at this point in the history
  • Loading branch information
hlubek authored Sep 19, 2023
1 parent 1ca5439 commit 77f6767
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ builds:
- arm64
main: ./cmd
archives:
- replacements:
linux: Linux
amd64: x86_64
- name_template: >-
{{ .ProjectName }}_
{{ .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
dockers:
- image_templates:
- ghcr.io/networkteam/{{ .ProjectName }}:{{ .Version }}-amd64
Expand Down

0 comments on commit 77f6767

Please sign in to comment.