Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/cd-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,17 +102,17 @@ jobs:

- name: Deploy to Cloud Run
id: deploy
uses: google-github-actions/deploy-cloudrun@v1
uses: google-github-actions/deploy-cloudrun@v2
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
service: ${{ secrets.GCP_CLOUD_RUN_SERVICE }}
image: ${{ secrets.GCP_GAR_REPO }}/backstage-image:${{ github.sha }}
region: ${{ secrets.GCP_REGION }}
flags: >
--allow-unauthenticated
--port=7007
--add-cloudsql-instances=${{ secrets.GCP_SQL_CONNECTION_NAME }}
--add-cloudsql-instances=code-idp:europe-west10:backstage-pg2
env_vars: |
POSTGRES_HOST=${{ secrets.POSTGRES_HOST }}
POSTGRES_USER=postgres
POSTGRES_HOST=/cloudsql/code-idp:europe-west10:backstage-pg2
POSTGRES_PORT=5432
BASE_URL=https://backstage.foundations-software-engineering.com