From fc7253958508a9ec28d4e7613bf5c0fbca5bf1e6 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Tue, 14 Apr 2026 17:03:26 +0200 Subject: [PATCH] ci: Add releases for linux-riscv64 (#2010) Add releases for linux-riscv64 This project is a dependency of `k0s` which is working on being built, tested and released on `linux-riscv64` [1]. RISC-V is gaining momentum especially in the embedded and edge world. [1] https://github.com/k0sproject/k0s/pull/7414 Co-authored-by: Andrew Lavery --- deploy/.goreleaser.yaml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/deploy/.goreleaser.yaml b/deploy/.goreleaser.yaml index 8f0e8659..4b431644 100644 --- a/deploy/.goreleaser.yaml +++ b/deploy/.goreleaser.yaml @@ -9,10 +9,14 @@ builds: main: ./cmd/preflight/main.go env: [CGO_ENABLED=0] goos: [linux, darwin, windows] - goarch: [amd64, arm, arm64] + goarch: [amd64, arm, arm64, riscv64] ignore: - goos: windows goarch: arm + - goos: windows + goarch: riscv64 + - goos: darwin + goarch: riscv64 ldflags: - -s -w - -X github.com/replicatedhq/troubleshoot/pkg/version.version={{ .Version }} @@ -32,10 +36,14 @@ builds: main: ./cmd/troubleshoot/main.go env: [CGO_ENABLED=0] goos: [linux, darwin, windows] - goarch: [amd64, arm, arm64] + goarch: [amd64, arm, arm64, riscv64] ignore: - goos: windows goarch: arm + - goos: windows + goarch: riscv64 + - goos: darwin + goarch: riscv64 ldflags: - -s -w - -X github.com/replicatedhq/troubleshoot/pkg/version.version={{ .Version }} @@ -55,10 +63,14 @@ builds: main: ./cmd/collect/main.go env: [CGO_ENABLED=0] goos: [linux, darwin, windows] - goarch: [amd64, arm, arm64] + goarch: [amd64, arm, arm64, riscv64] ignore: - goos: windows goarch: arm + - goos: windows + goarch: riscv64 + - goos: darwin + goarch: riscv64 ldflags: - -s -w - -X github.com/replicatedhq/troubleshoot/pkg/version.version={{ .Version }}