Skip to content

Commit 561e456

Browse files
authored
chore: remove cosign for signing attestations (#1824)
Signed-off-by: Jose I. Paris <[email protected]>
1 parent fd7fc90 commit 561e456

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,7 @@ jobs:
7373
if: ${{ success() && github.event_name != 'pull_request' }}
7474
run: |
7575
chainloop attestation status --full
76-
chainloop attestation push --key env://CHAINLOOP_SIGNING_KEY
77-
env:
78-
CHAINLOOP_SIGNING_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
79-
CHAINLOOP_SIGNING_KEY: ${{ secrets.COSIGN_KEY }}
76+
chainloop attestation push
8077
8178
- name: Mark attestation as failed
8279
if: ${{ failure() && github.event_name != 'pull_request' }}

.github/workflows/github_release.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ on:
99
secrets:
1010
chainloop_token:
1111
required: true
12-
cosign_key:
13-
required: true
14-
cosign_pass:
15-
required: true
1612

1713
permissions: {}
1814

@@ -67,13 +63,10 @@ jobs:
6763
if: ${{ success() }}
6864
run: |
6965
chainloop attestation status --full
70-
attestation_sha=$(chainloop attestation push --key env://CHAINLOOP_SIGNING_KEY -o json | jq -r '.digest')
66+
attestation_sha=$(chainloop attestation push -o json | jq -r '.digest')
7167
# check that the command succeeded
7268
[ -n "${attestation_sha}" ] || exit 1
7369
echo "attestation_sha=$attestation_sha" >> $GITHUB_OUTPUT
74-
env:
75-
CHAINLOOP_SIGNING_PASSWORD: ${{ secrets.cosign_pass }}
76-
CHAINLOOP_SIGNING_KEY: ${{ secrets.cosign_key }}
7770
7871
- name: Mark attestation as failed
7972
if: ${{ failure() }}

0 commit comments

Comments
 (0)