Skip to content

Commit

Permalink
Revert "fix: use regular env variable expression"
Browse files Browse the repository at this point in the history
This reverts commit 1cdb21e.
  • Loading branch information
rorre committed Jun 19, 2024
1 parent 1cdb21e commit e8b3e9d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@ jobs:

- name: "Docker auth"
run: |-
gcloud auth configure-docker $REGION-docker.pkg.dev --quiet
gcloud auth configure-docker ${{ env.REGION }}-docker.pkg.dev --quiet
- name: Build Docker Image
run: |
mkdir ./keys
echo '${{ secrets.CREDENTIALS }}' > ./keys/credentials.json
ls
ls ./keys
docker build --tag $GAR_LOCATION .
docker build --tag ${{ env.GAR_LOCATION }} .
- name: Push image
run: docker push $GAR_LOCATION
run: docker push ${{ env.GAR_LOCATION }}

- name: Run Docker Image
uses: appleboy/[email protected]
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 $GAR_LOCATION
docker run --name chefies-backend -e GOOGLE_APPLICATION_CREDENTIALS="/app/keys/credentials.json" -d --restart always -p 9000:80 ${{ env.GAR_LOCATION }}

0 comments on commit e8b3e9d

Please sign in to comment.