From 70ebbe7698acd6a0c04e0f7db511ac31d58948fb Mon Sep 17 00:00:00 2001 From: Alexis Lavaud Date: Sat, 2 Dec 2023 15:05:53 +0100 Subject: [PATCH] changed to github sha --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cda18fe6..ef337acb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }}"'