From 5807562b56a584124ac5ebe8af63766c75188937 Mon Sep 17 00:00:00 2001 From: Juan Font Alonso Date: Fri, 15 Oct 2021 17:00:04 +0200 Subject: [PATCH] Add arm64 binaries --- .goreleaser.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 7b1ea605..f7355104 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -20,6 +20,7 @@ builds: - -mod=readonly ldflags: - -s -w -X github.com/juanfont/headscale/cmd/headscale/cli.Version=v{{.Version}} + - id: linux-armhf main: ./cmd/headscale/headscale.go mod_timestamp: '{{ .CommitTimestamp }}' @@ -49,9 +50,16 @@ builds: - linux goarch: - amd64 - goarm: - - 6 - - 7 + main: ./cmd/headscale/headscale.go + mod_timestamp: '{{ .CommitTimestamp }}' + ldflags: + - -s -w -X github.com/juanfont/headscale/cmd/headscale/cli.Version=v{{.Version}} + + - id: linux-arm64 + goos: + - linux + goarch: + - arm64 main: ./cmd/headscale/headscale.go mod_timestamp: '{{ .CommitTimestamp }}' ldflags: @@ -63,6 +71,7 @@ archives: - darwin-amd64 - linux-armhf - linux-amd64 + - linux-arm64 name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" format: binary