From d4fa2819fbe47623d71a2a14c8962af89a6fd830 Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Sun, 14 Dec 2025 23:56:30 +0000 Subject: [PATCH] fixup! fixup! feat: use GoReleaser Pro for split/merge CGO builds --- .github/actions/goreleaser/action.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/actions/goreleaser/action.yml b/.github/actions/goreleaser/action.yml index 6f6518a..6278b0f 100644 --- a/.github/actions/goreleaser/action.yml +++ b/.github/actions/goreleaser/action.yml @@ -50,6 +50,17 @@ runs: if: inputs.cosign-key != '' uses: sigstore/cosign-installer@v3 + - name: Decode cosign key + if: inputs.cosign-key != '' + shell: bash + env: + COSIGN_KEY_BASE64: ${{ inputs.cosign-key }} + run: | + set +x + printenv COSIGN_KEY_BASE64 | base64 -d > /tmp/cosign.key + chmod 600 /tmp/cosign.key + unset COSIGN_KEY_BASE64 + - name: Run GoReleaser (full) if: inputs.mode == 'full' uses: goreleaser/goreleaser-action@v6