Skip to content

Commit

Permalink
Fix service account for production in gcp deploy job
Browse files Browse the repository at this point in the history
  • Loading branch information
var77 committed Apr 26, 2024
1 parent c8e280c commit c8aee92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-migrate-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
with:
token_format: access_token
workload_identity_provider: ${{ ( steps.set_env.outputs.branch == 'production' && secrets.GCP_WORKLOAD_IDENTITY_PROVIDER_PRODUCTION) || secrets.GCP_WORKLOAD_IDENTITY_PROVIDER_STAGING }}
service_account: ${{ ( steps.set_env.outputs.branch == 'production' && secrets.GCP_WORKLOAD_IDENTITY_PROVIDER_PRODUCTION) || secrets.GCP_SERVICE_ACCOUNT_STAGING }}
service_account: ${{ ( steps.set_env.outputs.branch == 'production' && secrets.GCP_SERVICE_ACCOUNT_PRODUCTION) || secrets.GCP_SERVICE_ACCOUNT_STAGING }}
# Build and push image
- name: Login to GCR Container Registry
uses: docker/login-action@v3
Expand Down

0 comments on commit c8aee92

Please sign in to comment.