Skip to content

Commit 8436e64

Browse files
committed
chore: fix build.sh logic to pick the current gcloud user.
1 parent 12add51 commit 8436e64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ function write_e2e_env(){
212212
exit 1
213213
fi
214214

215-
local_user=$(gcloud auth list --format 'value(account)' | tr -d '\n')
215+
local_user=$(gcloud auth list --format 'value(account)' | grep '@google.com' | tr -d '\n')
216216

217217
echo "Getting test secrets from $TEST_PROJECT into $1"
218218
{

0 commit comments

Comments
 (0)