Skip to content

Commit

Permalink
make gcloud docker auth revoke optional
Browse files Browse the repository at this point in the history
  • Loading branch information
davidangb committed Mar 19, 2019
1 parent ca9e955 commit 0b29354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function cleanup()
{
echo "cleaning up..."
if [[ -n $SERVICE_ACCT_KEY_FILE ]]; then
gcloud auth revoke
gcloud auth revoke && echo 'Token revoke succeeded' || echo 'Token revoke failed -- skipping'
rm -rf ${CLOUDSDK_CONFIG}
fi
}
Expand Down

0 comments on commit 0b29354

Please sign in to comment.