Skip to content

Commit

Permalink
Update maven-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
saurav631 authored Aug 16, 2024
1 parent 72b6250 commit b1365f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -321,5 +321,5 @@ jobs:
- name: Verfiy the attested Image
run: |
set -e # Exit on error
output=$(cosign verify-attestation --key cosign.pub ghcr.io/saurav631/spring-petclinic:latest 2>&1) || { echo "Failed to verify the attested image"; exit 1; }
echo "$output"
output1=$(cosign verify-attestation --key cosign.pub ghcr.io/saurav631/spring-petclinic:latest | jq -r .payload | base64 -D | jq . 2>&1) || { echo "Failed to verify the attested image"; exit 1; }
echo "output: $output1"

0 comments on commit b1365f9

Please sign in to comment.