mirror of
https://github.com/securego/gosec.git
synced 2025-04-15 11:46:53 +02:00
Update release build script (#924)
* Remove deprecated goreleaser flag from release build script * Update cosign version to v1.13.1
This commit is contained in:
parent
a459eb0ba3
commit
2d6b0a5b0f
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
- name: Install Cosign
|
- name: Install Cosign
|
||||||
uses: sigstore/cosign-installer@v2
|
uses: sigstore/cosign-installer@v2
|
||||||
with:
|
with:
|
||||||
cosign-release: 'v1.6.0'
|
cosign-release: 'v1.13.1'
|
||||||
- name: Store Cosign private key in a file
|
- name: Store Cosign private key in a file
|
||||||
run: 'echo "$COSIGN_KEY" > /tmp/cosign.key'
|
run: 'echo "$COSIGN_KEY" > /tmp/cosign.key'
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -55,7 +55,7 @@ jobs:
|
|||||||
uses: goreleaser/goreleaser-action@v4
|
uses: goreleaser/goreleaser-action@v4
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
args: release --rm-dist
|
args: release --clean
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
COSIGN_PASSWORD: ${{secrets.COSIGN_PASSWORD}}
|
COSIGN_PASSWORD: ${{secrets.COSIGN_PASSWORD}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user