From b96ff9c210b87e739cc15924473cb88f7d76aa32 Mon Sep 17 00:00:00 2001 From: Deluan Date: Sat, 11 Jul 2020 19:53:34 -0400 Subject: [PATCH] Use ci-goreleaser 1.14.4-2 This should generate binaries compatible with OpenVZ (kernel 2.6.32) --- .github/workflows/pipeline.yml | 4 ++-- .goreleaser.yml | 4 ++-- Makefile | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index f1d63f57..ceb563cd 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -108,7 +108,7 @@ jobs: - name: Run GoReleaser - SNAPSHOT if: startsWith(github.ref, 'refs/tags/') != true - uses: docker://deluan/ci-goreleaser:1.14.3-0 + uses: docker://deluan/ci-goreleaser:1.14.4-2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -116,7 +116,7 @@ jobs: - name: Run GoReleaser - RELEASE if: startsWith(github.ref, 'refs/tags/') - uses: docker://deluan/ci-goreleaser:1.14.3-0 + uses: docker://deluan/ci-goreleaser:1.14.4-2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.goreleaser.yml b/.goreleaser.yml index 7631db71..e848f8e5 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -37,7 +37,7 @@ builds: - id: navidrome_linux_arm env: - CGO_ENABLED=1 - - CC=arm-linux-gnueabi-gcc + - CC=arm-linux-gnueabi-gcc-5 goos: - linux goarch: @@ -54,7 +54,7 @@ builds: - id: navidrome_linux_arm64 env: - CGO_ENABLED=1 - - CC=aarch64-linux-gnu-gcc + - CC=aarch64-linux-gnu-gcc-5 goos: - linux goarch: diff --git a/Makefile b/Makefile index c9534cd9..1055c528 100644 --- a/Makefile +++ b/Makefile @@ -104,5 +104,5 @@ release: .PHONY: release snapshot: - docker run -it -v $(PWD):/workspace -w /workspace deluan/ci-goreleaser:1.14.3-0 goreleaser release --rm-dist --skip-publish --snapshot + docker run -it -v $(PWD):/workspace -w /workspace deluan/ci-goreleaser:1.14.4-2 goreleaser release --rm-dist --skip-publish --snapshot .PHONY: snapshot