Skip to content

Commit 19522d8

Browse files
authored
fix: cloud run action (#72)
* fix: cloud run action * fix: env * fix: naming
1 parent ee60b88 commit 19522d8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/cloud-run.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ jobs:
2323
credentials_json: ${{ secrets.GCP_CREDENTIALS }}
2424
- name: Configure Docker for GCP
2525
run: gcloud auth configure-docker --quiet
26-
- name: Pull image from GCR
26+
- name: Pull image from GitHub Container Registry
2727
run: docker pull ghcr.io/${{ github.repository }}/${{ matrix.app }}:${{ github.event.inputs.tag }}
2828
- name: Tag image for GCR
2929
run: docker tag ghcr.io/${{ github.repository }}/${{ matrix.app }}:${{ github.event.inputs.tag }} gcr.io/${{ secrets.GCP_PROJECT_ID }}/${{ matrix.app }}:${{ github.event.inputs.tag }}
30+
- name: Push image to GCR
31+
run: docker push gcr.io/${{ secrets.GCP_PROJECT_ID }}/${{ matrix.app }}:${{ github.event.inputs.tag }}
3032
- uses: frabert/replace-string-action@v2.3
3133
id: runner
3234
with:
@@ -44,7 +46,7 @@ jobs:
4446
JWT_SECRET=${{ secrets.JWT_SECRET }},
4547
RPC_URL=${{secrets.RPC_TEST_URL}},
4648
REDIS_URL=${{secrets.REDIS_TEST_URL}},
47-
USER_SERVICE_URL=https://user.test.etdstatsapi.net
49+
USER_SERVICE_URL=https://user.test.etdstatsapi.net,
4850
SOLIDITY_SERVICE_URL=https://functions.etdstatsapi.net/api/solidity/compile
4951
region: asia-southeast1
5052
flags: --allow-unauthenticated

0 commit comments

Comments
 (0)