Skip to content

Commit

Permalink
reformats cosign command
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Kielty <robert.kielty@cncf.io>
  • Loading branch information
RobertKielty committed Feb 12, 2025
1 parent 5615e12 commit db54283
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,9 @@ jobs:
IMAGE_NAME: ${{ needs.build.outputs.image }}
IMAGE_DIGEST: ${{ needs.build.outputs.digest }}
run: |
cosign version
COSIGN_EXPERIMENTAL=1 cosign verify-attestation --certificate-identity-regexp=".*" --certificate-oidc-issuer-regexp=".*" --type slsaprovenance "${{ env.IMAGE_NAME }}@${{env.IMAGE_DIGEST}}"
cosign version \
COSIGN_EXPERIMENTAL=1 cosign verify-attestation \
--certificate-identity-regexp=".*" \
--certificate-oidc-issuer-regexp=".*" \
--type slsaprovenance "${{ env.IMAGE_NAME }}@${{env.IMAGE_DIGEST}}"
# TODO(github.com/slsa-framework/slsa-verifier/issues/92): Add step to verify using slsa-verifier

0 comments on commit db54283

Please sign in to comment.