diff --git a/.goreleaser-darwin.yml b/.goreleaser-darwin.yml index a741d3cb..a4c14a6c 100644 --- a/.goreleaser-darwin.yml +++ b/.goreleaser-darwin.yml @@ -1,3 +1,4 @@ +version: 2 builds: - id: zrok-amd64 main: ./cmd/zrok diff --git a/.goreleaser-linux-arm64.yml b/.goreleaser-linux-arm64.yml index 27bd3474..d63b87fa 100644 --- a/.goreleaser-linux-arm64.yml +++ b/.goreleaser-linux-arm64.yml @@ -1,3 +1,4 @@ +version: 2 builds: - id: zrok-armv8 main: ./cmd/zrok diff --git a/.goreleaser-linux-armhf.yml b/.goreleaser-linux-armhf.yml index 829c85b8..b02e10d8 100644 --- a/.goreleaser-linux-armhf.yml +++ b/.goreleaser-linux-armhf.yml @@ -1,8 +1,11 @@ +version: 2 builds: - id: zrok-armv7 main: ./cmd/zrok binary: zrok - ldflags: "-s -w -X github.com/openziti/zrok/build.Version={{.Tag}} -X github.com/openziti/zrok/build.Hash={{.ShortCommit}}" + ldflags: + - '-extldflags "-static"' + - "-s -w -X github.com/openziti/zrok/build.Version={{.Tag}} -X github.com/openziti/zrok/build.Hash={{.ShortCommit}}" env: - CC=arm-linux-gnueabi-gcc - CGO_ENABLED=1 diff --git a/.goreleaser-linux.yml b/.goreleaser-linux.yml index 0e5ec9e8..aeaf8074 100644 --- a/.goreleaser-linux.yml +++ b/.goreleaser-linux.yml @@ -1,3 +1,4 @@ +version: 2 builds: - id: zrok-amd64 main: ./cmd/zrok diff --git a/.goreleaser-release.yml b/.goreleaser-release.yml index 9effbc27..ae817e34 100644 --- a/.goreleaser-release.yml +++ b/.goreleaser-release.yml @@ -1,3 +1,4 @@ +version: 2 builds: - skip: true release: diff --git a/.goreleaser-windows.yml b/.goreleaser-windows.yml index b14196bc..deeda04c 100644 --- a/.goreleaser-windows.yml +++ b/.goreleaser-windows.yml @@ -1,3 +1,4 @@ +version: 2 builds: - main: ./cmd/zrok binary: zrok