Skip to content

Commit

Permalink
Update gradle.yml
Browse files Browse the repository at this point in the history
환경변수 설정 -ing
  • Loading branch information
Haewonny authored Feb 11, 2024
1 parent 7d122ac commit 244f419
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ jobs:
docker pull ${{ secrets.DOCKER_USERNAME }}/hearo:latest
docker stop $(docker ps -a -q)
docker run -d --log-driver=syslog -p 8080:8080 \
-e GOOGLE_APPLICATION_CREDENTIALS=/tmp/keys/credentials.json \
-v $GOOGLE_APPLICATION_CREDENTIALS:/tmp/keys/credentials.json:ro \
${{ secrets.DOCKER_USERNAME }}/hearo:latest
-v "$HOME/.config/gcloud/application_default_credentials.json":/gcp/creds.json:ro \
--env GOOGLE_APPLICATION_CREDENTIALS=/gcp/creds.json \
${{ secrets.DOCKER_USERNAME }}/hearo:latest
docker rm $(docker ps --filter 'status=exited' -a -q)
docker image prune -a -f
Expand Down

0 comments on commit 244f419

Please sign in to comment.