File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -118,10 +118,11 @@ jobs:
118
118
--set-cloudsql-instances=${{ vars.CLOUDSQL_INSTANCE }}
119
119
--add-volume=name=files,type=in-memory
120
120
--add-volume-mount=volume=files,mount-path=/app/data
121
- --network=projects/zfnd-dev-net-spoke-0/global/networks/dev-spoke-0
122
- --subnet=projects/zfnd-dev-net-spoke-0/regions/us-east1/subnetworks/dev-default-ue1
121
+ --network=${{ vars.GCP_NETWORK }}
122
+ --subnet=${{ vars.GCP_SUBNETWORK }}
123
123
124
124
- name : Allow unauthenticated calls to the service
125
+ if : ${{ inputs.environment != 'prod' }}
125
126
run : |
126
127
gcloud run services add-iam-policy-binding ${{ inputs.app_name }}-${{ needs.versioning.outputs.version || env.GITHUB_HEAD_REF_SLUG || inputs.environment }} \
127
128
--region=${{ inputs.region }} --member=allUsers --role=roles/run.invoker --quiet
You can’t perform that action at this time.
0 commit comments