File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 9797 runs-on : ubuntu-latest
9898 needs :
9999 - version
100- - publish
101100
102101 steps :
103102 - name : Check out the repo
@@ -110,12 +109,22 @@ jobs:
110109 with :
111110 credentials_json : ' ${{ secrets.GOOGLE_CREDENTIALS }}'
112111
112+ - name : Configure Docker
113+ uses : docker/setup-buildx-action@v1
114+
115+ - name : Build and push Docker image
116+ uses : docker/build-push-action@v2
117+ with :
118+ context : .
119+ push : true
120+ tags : gcr.io/${{ secrets.PROJECT_ID }}/shopify-mimmic:${{ needs.version.outputs.tag }}
121+
113122 - name : Deploy to Google Cloud Run
114123 uses : google-github-actions/deploy-cloudrun@v1
115124 with :
116- image : ghcr .io/${{ github.repository }}:${{ needs.version.outputs.tag }}
125+ image : gcr .io/${{ secrets.PROJECT_ID }}/shopify-mimmic :${{ needs.version.outputs.tag }}
117126 service : shopify-mimic
118- region : us-central1
127+ region : europe-west2
119128 env_vars : |
120129 MIMIC_PORT=80
121130 MIMIC_MOCKS_DIRECTORY="/prefabs/shopfiy/mocks"
You can’t perform that action at this time.
0 commit comments