Skip to content

Commit

Permalink
added env to gcr run
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulhakkeempa committed Jul 22, 2024
1 parent 40795db commit 2cfdeb7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/google-cloudrun-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@ jobs:
# port: 8080

- name: Deploy to Cloud Run
env:
GAR_LOCATION: ${{ env.GAR_LOCATION }}
PROJECT_ID: ${{ env.PROJECT_ID }}
SERVICE: ${{ env.SERVICE }}

run: |-
gcloud run deploy ${ env.SERVICE } \
--image="${ env.GAR_LOCATION }-docker.pkg.dev/${ env.PROJECT_ID }/${ env.SERVICE }:${ github.sha }" \
Expand Down

0 comments on commit 2cfdeb7

Please sign in to comment.