Skip to content

Commit 89096f8

Browse files
authored
UPD: Update cd-workflow.yaml
1 parent 078380d commit 89096f8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/cd-workflow.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,17 +102,17 @@ jobs:
102102

103103
- name: Deploy to Cloud Run
104104
id: deploy
105-
uses: google-github-actions/deploy-cloudrun@v1
105+
uses: google-github-actions/deploy-cloudrun@v2
106106
with:
107-
project_id: ${{ secrets.GCP_PROJECT_ID }}
108107
service: ${{ secrets.GCP_CLOUD_RUN_SERVICE }}
109108
image: ${{ secrets.GCP_GAR_REPO }}/backstage-image:${{ github.sha }}
110109
region: ${{ secrets.GCP_REGION }}
111110
flags: >
112111
--allow-unauthenticated
113112
--port=7007
114-
--add-cloudsql-instances=${{ secrets.GCP_SQL_CONNECTION_NAME }}
113+
--add-cloudsql-instances=code-idp:europe-west10:backstage-pg2
115114
env_vars: |
116-
POSTGRES_HOST=${{ secrets.POSTGRES_HOST }}
115+
POSTGRES_USER=postgres
116+
POSTGRES_HOST=/cloudsql/code-idp:europe-west10:backstage-pg2
117117
POSTGRES_PORT=5432
118118
BASE_URL=https://backstage.foundations-software-engineering.com

0 commit comments

Comments
 (0)