Use go-cross-build@v2.
Some checks failed
release / docker-release-latest (push) Has been skipped
test / test (push) Successful in 3m14s
release / docker-release-tag (push) Successful in 11m15s
build / build (push) Successful in 11m52s
release / go-release-tag (push) Failing after 42s

This commit is contained in:
Seraphim R. Pardee 2024-09-23 22:05:03 -04:00
parent a6e6e8e6c0
commit 87fa20ba23

View File

@ -33,8 +33,6 @@ jobs:
if: ${{ ! (endsWith(gitea.ref_name, '-alpha') || endsWith(gitea.ref_name, '-beta') || endsWith(gitea.ref_name, '-rc')) }} if: ${{ ! (endsWith(gitea.ref_name, '-alpha') || endsWith(gitea.ref_name, '-beta') || endsWith(gitea.ref_name, '-rc')) }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: docker qemu setup
uses: docker/setup-qemu-action@v3
- name: docker buildx setup - name: docker buildx setup
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- name: login to container registry - name: login to container registry
@ -66,7 +64,7 @@ jobs:
go-version: '1.23.1' go-version: '1.23.1'
cache-dependency-path: go.sum cache-dependency-path: go.sum
- name: gotta build 'em all - name: gotta build 'em all
uses: https://git.hl.srp.life/srp/go-cross-build@v1 uses: https://git.hl.srp.life/srp/go-cross-build@v2
with: with:
platforms: 'linux/amd64, linux/arm64, darwin/amd64, darwin/arm64, freebsd/amd64, netbsd/amd64, openbsd/amd64, windows/amd64' platforms: 'linux/amd64, linux/arm64, darwin/amd64, darwin/arm64, freebsd/amd64, netbsd/amd64, openbsd/amd64, windows/amd64'
name: bingo name: bingo