File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -174,8 +174,8 @@ jobs:
174174 IMAGE_REPOSITORY='${{ env.IMAGE_REPOSITORY }}'
175175 IMAGE="ghcr.io/${OWNER_LC}/${IMAGE_REPOSITORY}:${IMAGE_TAG}"
176176 CONTAINER_NAME="${{ env.CONTAINER_NAME }}"
177- MAIL_USERNAME ='${{ secrets.MAIL_USERNAME }}'
178- MAIL_PASSWORD ='${{ secrets.MAIL_PASSWORD }}'
177+ SPRING_MAIL_USERNAME ='${{ secrets.MAIL_USERNAME }}'
178+ SPRING_MAIL_PASSWORD ='${{ secrets.MAIL_PASSWORD }}'
179179
180180 echo "📦 이미지: ${IMAGE}"
181181 echo "📦 컨테이너: ${CONTAINER_NAME}"
@@ -192,8 +192,8 @@ jobs:
192192 sed -i "s|image:.*${IMAGE_REPOSITORY}.*|image: ${IMAGE}|g" docker-compose.yml
193193
194194 echo "🚀 새 컨테이너 시작 중..."
195- export MAIL_USERNAME
196- export MAIL_PASSWORD
195+ export SPRING_MAIL_USERNAME
196+ export SPRING_MAIL_PASSWORD
197197 docker-compose up -d $CONTAINER_NAME
198198
199199 echo "🏥 헬스체크 중..."
Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ spring:
2727 mail :
2828 host : smtp.gmail.com
2929 port : 587
30- username : ${MAIL_USERNAME }
31- password : ${MAIL_PASSWORD }
30+ username : ${SPRING_MAIL_USERNAME }
31+ password : ${SPRING_MAIL_PASSWORD }
3232 properties :
3333 mail :
3434 smtp :
Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ spring:
4545 mail :
4646 host : smtp.gmail.com
4747 port : 587
48- username : ${MAIL_USERNAME }
49- password : ${MAIL_PASSWORD }
48+ username : ${SPRING_MAIL_USERNAME }
49+ password : ${SPRING_MAIL_PASSWORD }
5050 properties :
5151 mail :
5252 smtp :
Original file line number Diff line number Diff line change @@ -78,8 +78,8 @@ services:
7878 - " 8080:8080"
7979 environment :
8080 - SPRING_PROFILES_ACTIVE=prod
81- - MAIL_USERNAME =${MAIL_USERNAME}
82- - MAIL_PASSWORD =${MAIL_PASSWORD}
81+ - SPRING_MAIL_USERNAME =${MAIL_USERNAME}
82+ - SPRING_MAIL_PASSWORD =${MAIL_PASSWORD}
8383 networks :
8484 - app-network
8585 restart : unless-stopped
You can’t perform that action at this time.
0 commit comments