Skip to content

Commit

Permalink
Use updated google auth action (#735)
Browse files Browse the repository at this point in the history
We are getting [error
annotations](https://github.com/pulumi/pulumi-docker/actions/runs/7094535875)
on our workflow runs warning us of deprecation:

```
test (python)
The v0 series of google-github-actions/auth is no longer maintained. It will not receive updates, improvements, or security patches. Please upgrade to the latest supported versions: 

    https://github.com/google-github-actions/auth
```

The main caveat is this update requires Node 20.0+. We have this set in
the same config file so I don't anticipate an issue.
  • Loading branch information
guineveresaenger authored Dec 5, 2023
1 parent af1d4ce commit 1875fd0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ actionVersions:

configureAwsCredentials: aws-actions/configure-aws-credentials@v1
setupGcloud: google-github-actions/setup-gcloud@v0
googleAuth: google-github-actions/auth@v0
googleAuth: google-github-actions/auth@v2
goReleaser: goreleaser/goreleaser-action@v2
installGhRelease: jaxxstorm/[email protected]
checkout: actions/checkout@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ jobs:
role-session-name: ${{ env.PROVIDER }}@githubActions
role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
service_account: ${{ env.GOOGLE_CI_SERVICE_ACCOUNT_EMAIL }}
workload_identity_provider: projects/${{ env.GOOGLE_PROJECT_NUMBER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ jobs:
role-session-name: ${{ env.PROVIDER }}@githubActions
role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
service_account: ${{ env.GOOGLE_CI_SERVICE_ACCOUNT_EMAIL }}
workload_identity_provider: projects/${{ env.GOOGLE_PROJECT_NUMBER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ jobs:
role-session-name: ${{ env.PROVIDER }}@githubActions
role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
service_account: ${{ env.GOOGLE_CI_SERVICE_ACCOUNT_EMAIL }}
workload_identity_provider: projects/${{ env.GOOGLE_PROJECT_NUMBER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ jobs:
role-session-name: ${{ env.PROVIDER }}@githubActions
role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
service_account: ${{ env.GOOGLE_CI_SERVICE_ACCOUNT_EMAIL }}
workload_identity_provider: projects/${{ env.GOOGLE_PROJECT_NUMBER
Expand Down

0 comments on commit 1875fd0

Please sign in to comment.