Use gcloud sdk latest stable in actions; use --quiet for alpha commands

This commit is contained in:
Deirdre Connolly 2020-06-24 14:58:20 -04:00 committed by Deirdre Connolly
parent 0bb8b2b059
commit 8367c765a0
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,6 @@ jobs:
- name: Set up gcloud Cloud SDK environment
uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
with:
version: '295.0.0'
project_id: ${{ env.PROJECT_ID }}
service_account_key: ${{ secrets.GCLOUD_AUTH }}
@ -52,6 +51,7 @@ jobs:
--format="value(image_summary.fully_qualified_digest)");
gcloud alpha container binauthz attestations sign-and-create \
--quiet \
--artifact-url="${ARTIFACT_URL}" \
--attestor="projects/zealous-zebra/attestors/zebrad-attestor" \
--keyversion="projects/zealous-zebra/locations/global/keyRings/binary-authorization/cryptoKeys/zebrad-attestor/cryptoKeyVersions/1";