Skip to content

Commit

Permalink
TEST GithubActions 4 update 3
Browse files Browse the repository at this point in the history
  • Loading branch information
MirceaMateiMozilla committed Oct 17, 2023
1 parent ffa39ce commit d4b2905
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/google-cloudrun-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ env:
jobs:
deploy:
# Add 'id-token' with the intended permissions for workload identity federation
runs-on: ubuntu-latest

permissions:
contents: 'read'
id-token: 'write'
secrets: inherit

runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
secrets: inherit

- name: Google Auth
id: auth
uses: 'google-github-actions/auth@v0'
secrets: inherit
with:
token_format: 'access_token'
workload_identity_provider: '${{ secrets.WIF_PROVIDER }}' # e.g. - projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider
Expand All @@ -34,6 +34,7 @@ jobs:
- name: Deploy to Cloud Run
id: deploy
uses: google-github-actions/deploy-cloudrun@v0
secrets: inherit
with:
service: ${{ env.SERVICE }}
region: ${{ env.REGION }}
Expand Down

0 comments on commit d4b2905

Please sign in to comment.