File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,16 +39,16 @@ jobs:
39
39
40
40
- name : Build and push Docker container
41
41
run : |
42
- docker build -t $REGISTRY/$ PROJECT_ID/cloud-run-deployments/$ SERVICE_NAME:${{ github.sha }} .
43
- docker push $REGISTRY/$ PROJECT_ID/cloud-run-deployments/$ SERVICE_NAME:${{ github.sha }}
42
+ docker build -t ${{ env. REGISTRY }}/${{ env. PROJECT_ID }}/shared-docker-registry/${{ env. SERVICE_NAME }}:${{ github.sha }} :${{ github.sha }} .
43
+ docker push ${{ env. REGISTRY }}/${{ env. PROJECT_ID }}/shared-docker-registry/${{ env. SERVICE_NAME }}:${{ github.sha }} :${{ github.sha }}
44
44
45
45
- name : Deploy to Cloud Run
46
46
id : deploy
47
47
uses : google-github-actions/deploy-cloudrun@v2
48
48
with :
49
49
service : ${{ env.SERVICE_NAME }}
50
50
region : ${{ env.REGION }}
51
- image : ${{ env.REGISTRY }}/${{ env.PROJECT_ID }}/cloud-run-deployments /${{ env.SERVICE_NAME }}:${{ github.sha }}
51
+ image : ${{ env.REGISTRY }}/${{ env.PROJECT_ID }}/shared-docker-registry /${{ env.SERVICE_NAME }}:${{ github.sha }}
52
52
flags : ' --allow-unauthenticated'
53
53
54
54
- name : Show Output
You can’t perform that action at this time.
0 commit comments