Support Linux 32 bits releases
This commit is contained in:
parent
0730c667a2
commit
4ef12f91e0
3 changed files with 16 additions and 3 deletions
4
.github/workflows/pipeline.yml
vendored
4
.github/workflows/pipeline.yml
vendored
|
|
@ -114,7 +114,7 @@ jobs:
|
||||||
|
|
||||||
- name: Run GoReleaser - SNAPSHOT
|
- name: Run GoReleaser - SNAPSHOT
|
||||||
if: startsWith(github.ref, 'refs/tags/') != true
|
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:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
|
@ -122,7 +122,7 @@ jobs:
|
||||||
|
|
||||||
- name: Run GoReleaser - RELEASE
|
- name: Run GoReleaser - RELEASE
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
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:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,19 @@ builds:
|
||||||
- "-extldflags '-static'"
|
- "-extldflags '-static'"
|
||||||
- -s -w -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}
|
- -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
|
- id: navidrome_linux_arm
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=1
|
- CGO_ENABLED=1
|
||||||
|
|
|
||||||
2
Makefile
2
Makefile
|
|
@ -103,5 +103,5 @@ release:
|
||||||
.PHONY: release
|
.PHONY: release
|
||||||
|
|
||||||
snapshot:
|
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
|
.PHONY: snapshot
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue