File tree Expand file tree Collapse file tree 2 files changed +0
-254
lines changed Expand file tree Collapse file tree 2 files changed +0
-254
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,6 @@ jobs:
104104
105105 - name : Sign image with Cosign
106106 if : ${{ env._PUSH_IMAGE == 'true' }}
107- id : cosign
108107 env :
109108 DIGEST : ${{ steps.build-docker.outputs.digest }}
110109 TAGS : ${{ steps.image-tags.outputs.tags }}
@@ -115,20 +114,6 @@ jobs:
115114 images+=("${tag}@${DIGEST}")
116115 done
117116 cosign sign --yes "${images[@]}"
118- echo "images=${images[*]}" >> "$GITHUB_OUTPUT"
119-
120- - name : Verify the signed image with Cosign
121- if : ${{ env._PUSH_IMAGE == 'true' }}
122- env :
123- GITHUB_SERVER_URL : " ${{ github.server_url }}"
124- REF : " ${{ github.workflow_ref }}"
125- IMAGES : " ${{ steps.cosign.outputs.images }}"
126- run : |
127- read -r -a images_array <<< "${COSIGN_IMAGES}"
128- cosign verify \
129- --certificate-identity "${GITHUB_SERVER_URL}/${GITHUB_WORKFLOW_REF}" \
130- --certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
131- "${images_array[@]}"
132117
133118 - name : Create kind cluster
134119 uses : helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments