Skip to content

Commit 1fe61c8

Browse files
authored
Merge pull request #2 from danlishka/bump-cosign
fix(ci): bump to cosign 2.0 (#117)
2 parents 14f3c55 + 0c10ea4 commit 1fe61c8

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ jobs:
1515
contents: write # required for goreleaser
1616
steps:
1717
- name: Install Cosign
18-
uses: sigstore/cosign-installer@v2.5.0
18+
uses: sigstore/cosign-installer@main
19+
with:
20+
cosign-release: 'v2.0.2'
1921

2022
- name: Install Chainloop
2123
run: |
@@ -93,5 +95,5 @@ jobs:
9395
run: |
9496
chainloop attestation reset --trigger cancellation
9597
env:
96-
CHAINLOOP_VERSION: 0.8.92
98+
CHAINLOOP_VERSION: 0.9.1
9799
CHAINLOOP_ROBOT_ACCOUNT: ${{ secrets.CHAINLOOP_ROBOT_ACCOUNT }}

.goreleaser.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@ signs:
1616
"sign-blob",
1717
"--key=env://COSIGN_PRIVATE_KEY",
1818
"--output-signature=${signature}",
19+
"--yes",
1920
"${artifact}",
2021
]
2122
artifacts: all
2223

2324
docker_signs:
2425
- cmd: cosign
25-
args: ["sign", "--key=env://COSIGN_PRIVATE_KEY", "${artifact}"]
26+
args: ["sign", "--yes", "--key=env://COSIGN_PRIVATE_KEY", "${artifact}"]
2627
artifacts: all
2728

2829
dockers:

0 commit comments

Comments
 (0)