Skip to content

Commit b81fd47

Browse files
author
Niklas Burchhardt
committed
switch to keyless signing
1 parent 77f29b1 commit b81fd47

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,4 @@ jobs:
5252
version: latest
5353
args: release --clean
5454
env:
55-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56-
COSIGN_PRIVATE_KEY: ${{secrets.COSIGN_PRIVATE_KEY}}
57-
COSIGN_PASSWORD: ${{secrets.COSIGN_KEY_PASSWORD}}
55+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.goreleaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,12 @@ sboms:
7676
signs:
7777
- artifacts: checksum
7878
cmd: cosign
79+
certificate: "{artifact}.pem"
7980
args:
8081
- "sign-blob"
81-
- "--key=env://COSIGN_PRIVATE_KEY"
8282
- "--output-signature=${signature}"
8383
- "--bundle=${artifact}.bundle"
84+
- "--output-certificate=${certificate}"
8485
- "--yes"
8586
- "${artifact}"
8687

@@ -89,6 +90,5 @@ docker_signs:
8990
- cmd: cosign
9091
args:
9192
- "sign"
92-
- "--key=env://COSIGN_PRIVATE_KEY"
9393
- "--yes"
9494
- "${artifact}"

0 commit comments

Comments
 (0)