Skip to content

Commit

Permalink
Update GCP creds
Browse files Browse the repository at this point in the history
  • Loading branch information
hexbabe committed Aug 29, 2024
1 parent 28447d5 commit 6ecac45
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- 'README.md'
- 'docs/**'

permissions:
id-token: write
contents: read

jobs:
appimage:
name: Build/Test/Upload latest
Expand Down Expand Up @@ -54,10 +58,13 @@ jobs:
make image-test
make test-package
- name: Authorize GCP upload
uses: google-github-actions/auth@v1
- id: 'auth'
name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v1'
with:
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'
create_credentials_file: true
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }}

- name: Deploy Files
uses: google-github-actions/upload-cloud-storage@v0.10.4
Expand Down

0 comments on commit 6ecac45

Please sign in to comment.