This is an automated email from the ASF dual-hosted git repository.

damccorm pushed a commit to branch users/damccorm/auth
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 80a4e078b56a312a7cdce8ef3c0368dc3d20bbbf
Author: Danny McCormick <[email protected]>
AuthorDate: Tue Dec 12 09:59:35 2023 -0500

    Fix auth for beam_CleanUpPrebuiltSDKImages.yml
---
 .github/workflows/beam_CleanUpPrebuiltSDKImages.yml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/beam_CleanUpPrebuiltSDKImages.yml 
b/.github/workflows/beam_CleanUpPrebuiltSDKImages.yml
index 4cc4b09a84c..a22363c2fd3 100644
--- a/.github/workflows/beam_CleanUpPrebuiltSDKImages.yml
+++ b/.github/workflows/beam_CleanUpPrebuiltSDKImages.yml
@@ -72,12 +72,13 @@ jobs:
       - name: Setup environment
         uses: ./.github/actions/setup-environment-action
       - name: Authenticate on GCP
-        id: auth
-        uses: google-github-actions/auth@v1
+        uses: google-github-actions/setup-gcloud@v0
         with:
-          credentials_json: ${{ secrets.GCP_SA_KEY }}
+          service_account_email: ${{ secrets.GCP_SA_EMAIL }}
+          service_account_key: ${{ secrets.GCP_SA_KEY }}
           project_id: ${{ secrets.GCP_PROJECT_ID }}
+          export_default_credentials: true
       - name: run remove stale sdk container images
         uses: ./.github/actions/gradle-command-self-hosted-action
         with:
-          gradle-command: :beam-test-tools:removeStaleSDKContainerImages
\ No newline at end of file
+          gradle-command: :beam-test-tools:removeStaleSDKContainerImages

Reply via email to