Skip to content

Commit

Permalink
changed to github sha
Browse files Browse the repository at this point in the history
  • Loading branch information
mario8705 committed Dec 2, 2023
1 parent 7ecfeb0 commit 70ebbe7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,15 @@ jobs:
context: frontend/
push: true
tags: |
europe-west9-docker.pkg.dev/magnetic-lore-402317/transcendence/frontend:${{ inputs.ref }}
europe-west9-docker.pkg.dev/magnetic-lore-402317/transcendence/frontend:${{ github.sha }}
- name: 'Deploy to Cloud Run'
id: 'deploy'
uses: 'google-github-actions/deploy-cloudrun@v1'
with:
service: 'transcendence-frontend'
image: europe-west9-docker.pkg.dev/magnetic-lore-402317/transcendence/frontend:${{ inputs.ref }}
image: europe-west9-docker.pkg.dev/magnetic-lore-402317/transcendence/frontend:${{ github.sha }}


- name: 'Use output'
run: 'curl "${{ steps.deploy.outputs.url }}"'

0 comments on commit 70ebbe7

Please sign in to comment.