Skip to content

Commit 56ad34d

Browse files
authored
UPD: cd workflow (#75)
1 parent 64c6d59 commit 56ad34d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/cd-workflow.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
context: .
6767
file: ./Dockerfile
6868
platforms: linux/amd64
69-
tags: ${{ secrets.GCP_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/${{ secrets.GCP_GAR_REPO }}/backstage-image:${{ github.sha }}
69+
tags: ${{ secrets.GCP_GAR_REPO }}/backstage-image:${{ github.sha }}
7070
build-args: |
7171
APP_ENV=docker
7272
@@ -101,10 +101,11 @@ jobs:
101101

102102
- name: Deploy to Cloud Run
103103
id: deploy
104+
uses: google-github-actions/deploy-cloudrun@v1
104105
with:
105106
project_id: ${{ secrets.GCP_PROJECT_ID }}
106107
service: ${{ secrets.GCP_CLOUD_RUN_SERVICE }}
107-
image: ${{ secrets.GCP_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/${{ secrets.GCP_GAR_REPO }}/backstage-image:${{ github.sha }}
108+
image: ${{secrets.GCP_GAR_IMAGE}}
108109
region: ${{ secrets.GCP_REGION }}
109110
flags: |
110111
--platform managed \

0 commit comments

Comments
 (0)