Skip to content

Commit 4a5cc18

Browse files
authored
Merge pull request #34629 Activate service account
Activate service account for Publish Beam SDK Snapshots workflow
2 parents bd2891d + c2ca585 commit 4a5cc18

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/beam_Publish_Beam_SDK_Snapshots.yml

+4
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ jobs:
101101
credentials_json: ${{ secrets.GCP_SA_KEY }}
102102
- name: Set up Cloud SDK
103103
uses: google-github-actions/setup-gcloud@v2
104+
- name: Activate service account
105+
run: |
106+
echo '${{ secrets.GCP_SA_KEY }}' > /tmp/key.json
107+
gcloud auth activate-service-account --key-file=/tmp/key.json
104108
- name: GCloud Docker credential helper
105109
run: |
106110
gcloud auth configure-docker ${{ env.docker_registry }}

0 commit comments

Comments
 (0)