diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index f983dd352..7362f0a37 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -114,7 +114,7 @@ jobs: - name: Run GoReleaser - SNAPSHOT if: startsWith(github.ref, 'refs/tags/') != true - uses: docker://deluan/ci-goreleaser:1.14.4-2 + uses: docker://deluan/ci-goreleaser:1.14.4-3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -122,7 +122,7 @@ jobs: - name: Run GoReleaser - RELEASE if: startsWith(github.ref, 'refs/tags/') - uses: docker://deluan/ci-goreleaser:1.14.4-2 + uses: docker://deluan/ci-goreleaser:1.14.4-3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.goreleaser.yml b/.goreleaser.yml index 842747fd4..90d0726a4 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -34,6 +34,19 @@ builds: - "-extldflags '-static'" - -s -w -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}} + - id: navidrome_linux_386 + env: + - CGO_ENABLED=1 + goos: + - linux + goarch: + - 386 + flags: + - -tags=embed + ldflags: + - "-extldflags '-static'" + - -s -w -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}} + - id: navidrome_linux_arm env: - CGO_ENABLED=1 diff --git a/Makefile b/Makefile index 18feb1e18..a8640fe40 100644 --- a/Makefile +++ b/Makefile @@ -103,5 +103,5 @@ release: .PHONY: release snapshot: - docker run -it -v $(PWD):/workspace -w /workspace deluan/ci-goreleaser:1.14.4-2 goreleaser release --rm-dist --skip-publish --snapshot + docker run -it -v $(PWD):/workspace -w /workspace deluan/ci-goreleaser:1.14.4-3 goreleaser release --rm-dist --skip-publish --snapshot .PHONY: snapshot