From c1f97e21c977afc362d36e1c45e8508490a27aba Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Wed, 24 Jun 2020 17:36:40 -0400 Subject: [PATCH] Verify that the attestation was created --- .github/workflows/cd.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 6fe3e769..e20c17b2 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -55,6 +55,9 @@ jobs: --attestor="projects/zealous-zebra/attestors/zebrad-attestor" \ --keyversion="projects/zealous-zebra/locations/global/keyRings/binary-authorization/cryptoKeys/zebrad-attestor/cryptoKeyVersions/1"; + gcloud container binauthz attestations list \ + --attestor="projects/zealous-zebra/attestors/zebrad-attestor" | grep $ARTIFACT_URL; + # Create instance template from container image - name: Create instance template run: |