Skip to content

Commit

Permalink
Authentication and setup for GCP have been fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
slali87 committed Jul 16, 2024
1 parent c3a23a9 commit e47f372
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/cloudrun-deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@main
- name: 'Setup GCP Service Account'
uses: google-github-actions/setup-gcloud@main
uses: actions/checkout@v4
- name: 'Configure authentication to GCP'
uses: google-github-actions/auth@v2
with:
credentials_json: '${{ secrets.GCP_SERVICE_ACCOUNT_SECRET }}'
project_id: ${{ secrets.GCP_PROJECT_ID }}
service_account_key: ${{ secrets.GCP_SERVICE_ACCOUNT_SECRET }}
export_default_credentials: true
- name: 'Set up GCP SDK'
uses: google-github-actions/setup-gcloud@v2
- name: 'Configure Docker'
run: make gcloud-docker-init
- name: 'Build'
Expand Down

0 comments on commit e47f372

Please sign in to comment.