From ae729c2ca7c4ab37ee33a7e6129fc13b7b14e5ad Mon Sep 17 00:00:00 2001 From: Sudo-Ivan Date: Sat, 6 Dec 2025 13:08:27 -0600 Subject: [PATCH] Configure SLSA Go releaser to set CGO_ENABLED=0 and update Go version handling in workflow --- .github/workflows/slsa-go-releaser.yml | 2 +- .slsa-goreleaser.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/slsa-go-releaser.yml b/.github/workflows/slsa-go-releaser.yml index 7e5b2e0..036153e 100644 --- a/.github/workflows/slsa-go-releaser.yml +++ b/.github/workflows/slsa-go-releaser.yml @@ -18,7 +18,7 @@ jobs: actions: read uses: slsa-framework/slsa-github-generator/.github/workflows/builder_go_slsa3.yml@v2.1.0 with: - go-version: "1.24" + go-version-file: go.mod config-file: .slsa-goreleaser.yml upload-assets: true diff --git a/.slsa-goreleaser.yml b/.slsa-goreleaser.yml index c5ad4cf..d712d50 100644 --- a/.slsa-goreleaser.yml +++ b/.slsa-goreleaser.yml @@ -8,6 +8,8 @@ builds: - -trimpath ldflags: - -s -w + env: + - CGO_ENABLED=0 goos: - linux - darwin