Skip to content

Commit

Permalink
fix(ci): add image name on push
Browse files Browse the repository at this point in the history
  • Loading branch information
rorre committed Jun 19, 2024
1 parent 916dbe3 commit d949c63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
echo '${{ secrets.CREDENTIALS }}' > ./keys/credentials.json
ls
ls ./keys
docker build --tag ${{ vars.GAR_LOCATION }} .
docker build --tag ${{ vars.GAR_LOCATION }}/backend .
- name: Push image
run: docker push ${{ vars.GAR_LOCATION }}
Expand All @@ -46,4 +46,4 @@ jobs:
script: |
docker container rm -f chefies-backend
docker image rm -f chefies-backend
docker run --name chefies-backend -e GOOGLE_APPLICATION_CREDENTIALS="/app/keys/credentials.json" -d --restart always -p 9000:80 ${{ vars.GAR_LOCATION }}
docker run --name chefies-backend -e GOOGLE_APPLICATION_CREDENTIALS="/app/keys/credentials.json" -d --restart always -p 9000:80 ${{ vars.GAR_LOCATION }}/backend

0 comments on commit d949c63

Please sign in to comment.