From 27ba8676d58062b1cc331e819d755151ee309139 Mon Sep 17 00:00:00 2001 From: Kim Yongbin <80311590+yongbin97@users.noreply.github.com> Date: Fri, 4 Oct 2024 13:34:44 +0900 Subject: [PATCH] =?UTF-8?q?[Deploy]=20google=20credential=20=EA=B2=BD?= =?UTF-8?q?=EB=A1=9C=20=EC=88=98=EC=A0=95=20(#50)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit deploy: google credential 경로 수정 (#49) --- .github/workflows/someup_dev.yml | 1 + docker-compose.yml | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/someup_dev.yml b/.github/workflows/someup_dev.yml index 4ccbc27..b62d2c6 100644 --- a/.github/workflows/someup_dev.yml +++ b/.github/workflows/someup_dev.yml @@ -131,6 +131,7 @@ jobs: port: 22 script: | cd someup + export GOOGLE_APPLICATION_CREDENTIALS=~/.config/gcloud/application_default_credentials.json sudo docker-compose down sudo docker-compose pull sudo docker-compose up -d diff --git a/docker-compose.yml b/docker-compose.yml index 1126b52..f1ed48e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,9 +6,6 @@ services: - 8080:8080 environment: - SPRING_PROFILES_ACTIVE=dev-env # 사용할 profile - - GOOGLE_APPLICATION_CREDENTIALS=/path/in/container/application_default_credentials.json - volumes: - - ~/.config/gcloud/application_default_credentials.json:/path/in/container/application_default_credentials.json networks: - my_network