From e5da3016ea57440e5a97a5bb385d51b43fb82c26 Mon Sep 17 00:00:00 2001 From: Conrad Kramer Date: Sun, 7 Jun 2026 14:47:31 -0700 Subject: [PATCH] Avoid project config during WIF auth --- Scripts/ci/google-wif-auth.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Scripts/ci/google-wif-auth.sh b/Scripts/ci/google-wif-auth.sh index af38f9e..c3eda3c 100755 --- a/Scripts/ci/google-wif-auth.sh +++ b/Scripts/ci/google-wif-auth.sh @@ -138,8 +138,9 @@ gcloud iam workload-identity-pools create-cred-config "$provider_resource" \ --output-file "$credential_config" chmod 0600 "$credential_config" +export CLOUDSDK_CORE_PROJECT="$project_id" +export GOOGLE_CLOUD_PROJECT="$project_id" gcloud auth login --cred-file="$credential_config" --brief -gcloud config set project "$project_id" >/dev/null { echo "GOOGLE_APPLICATION_CREDENTIALS=$credential_config"