mirror of
https://github.com/lukaszraczylo/shared-actions.git
synced 2026-06-29 05:42:37 +00:00
fixup! fixup! feat: use GoReleaser Pro for split/merge CGO builds
This commit is contained in:
@@ -50,6 +50,17 @@ runs:
|
|||||||
if: inputs.cosign-key != ''
|
if: inputs.cosign-key != ''
|
||||||
uses: sigstore/cosign-installer@v3
|
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)
|
- name: Run GoReleaser (full)
|
||||||
if: inputs.mode == 'full'
|
if: inputs.mode == 'full'
|
||||||
uses: goreleaser/goreleaser-action@v6
|
uses: goreleaser/goreleaser-action@v6
|
||||||
|
|||||||
Reference in New Issue
Block a user