Skip to content

Commit

Permalink
fix: cloud run action (#72)
Browse files Browse the repository at this point in the history
* fix: cloud run action

* fix: env

* fix: naming
  • Loading branch information
sirily11 authored Nov 10, 2022
1 parent ee60b88 commit 19522d8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cloud-run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ jobs:
credentials_json: ${{ secrets.GCP_CREDENTIALS }}
- name: Configure Docker for GCP
run: gcloud auth configure-docker --quiet
- name: Pull image from GCR
- name: Pull image from GitHub Container Registry
run: docker pull ghcr.io/${{ github.repository }}/${{ matrix.app }}:${{ github.event.inputs.tag }}
- name: Tag image for GCR
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 }}
- name: Push image to GCR
run: docker push gcr.io/${{ secrets.GCP_PROJECT_ID }}/${{ matrix.app }}:${{ github.event.inputs.tag }}
- uses: frabert/[email protected]
id: runner
with:
Expand All @@ -44,7 +46,7 @@ jobs:
JWT_SECRET=${{ secrets.JWT_SECRET }},
RPC_URL=${{secrets.RPC_TEST_URL}},
REDIS_URL=${{secrets.REDIS_TEST_URL}},
USER_SERVICE_URL=https://user.test.etdstatsapi.net
USER_SERVICE_URL=https://user.test.etdstatsapi.net,
SOLIDITY_SERVICE_URL=https://functions.etdstatsapi.net/api/solidity/compile
region: asia-southeast1
flags: --allow-unauthenticated
Expand Down

2 comments on commit 19522d8

@vercel
Copy link

@vercel vercel bot commented on 19522d8 Nov 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 19522d8 Nov 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.