File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed
Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change 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' }}
Original file line number Diff line number Diff line change 99 secrets :
1010 chainloop_token :
1111 required : true
12- cosign_key :
13- required : true
14- cosign_pass :
15- required : true
1612
1713permissions : {}
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() }}
You can’t perform that action at this time.
0 commit comments