-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: cloud run action * fix: env * fix: naming
- Loading branch information
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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 | ||
|
19522d8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
etdstats-docs – ./apps/docs
etdstats-docs.vercel.app
etdstats-docs-etherdata-blockchain.vercel.app
docs.stats.etdchain.net
etdstats-docs-git-main-etherdata-blockchain.vercel.app
19522d8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
etdstats – ./apps/etdstats
etdstats-etherdata-blockchain.vercel.app
etdstats-git-main-etherdata-blockchain.vercel.app
etdstats.vercel.app
stats.etdchain.net