Skip to content

Commit 59a64a4

Browse files
committed
ci: Fix cosign
1 parent 142a2cb commit 59a64a4

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/.goreleaser.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,10 @@ notarize:
4949
binary_signs:
5050
- cmd: cosign
5151
stdin: "{{ .Env.COSIGN_PWD }}"
52+
signature: "${artifact}.sig"
5253
args:
5354
- sign-blob
54-
- --key
55-
- env://COSIGN_KEY
56-
- --output-signature
57-
- "${artifact}.sig"
55+
- --key=env://COSIGN_KEY
56+
- --output-signature=${signature}"
5857
- "${artifact}"
5958
- --yes

.github/workflows/assets.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: goreleaser/goreleaser-action@v6
2929
with:
3030
version: '~> v2'
31-
args: release --config .github/.goreleaser.yaml
31+
args: release --config .github/.goreleaser.yaml --clean
3232
env:
3333
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
3434
MACOS_SIGN_P12: ${{ secrets.MACOS_SIGN_P12 }}

0 commit comments

Comments
 (0)