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 97
97
runs-on : ubuntu-latest
98
98
needs :
99
99
- version
100
- - publish
101
100
102
101
steps :
103
102
- name : Check out the repo
@@ -110,12 +109,22 @@ jobs:
110
109
with :
111
110
credentials_json : ' ${{ secrets.GOOGLE_CREDENTIALS }}'
112
111
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
+
113
122
- name : Deploy to Google Cloud Run
114
123
uses : google-github-actions/deploy-cloudrun@v1
115
124
with :
116
- image : ghcr .io/${{ github.repository }}:${{ needs.version.outputs.tag }}
125
+ image : gcr .io/${{ secrets.PROJECT_ID }}/shopify-mimmic :${{ needs.version.outputs.tag }}
117
126
service : shopify-mimic
118
- region : us-central1
127
+ region : europe-west2
119
128
env_vars : |
120
129
MIMIC_PORT=80
121
130
MIMIC_MOCKS_DIRECTORY="/prefabs/shopfiy/mocks"
You can’t perform that action at this time.
0 commit comments