Skip to content

Commit d50125b

Browse files
committed
๐Ÿ› Fix: docker-compose ์† ๋ณ€์ˆ˜ ํ™˜๊ฒฝ๋ณ€์ˆ˜๋กœ ์ฃผ์ž…
1 parent 086fa15 commit d50125b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

โ€Ž.github/workflows/github-actions.ymlโ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ jobs:
7272
script: |
7373
set -e
7474
APP_DIR=/home/ubuntu/interview-be
75-
IMAGE=${{ secrets.DOCKER_USERNAME }}/interview-be-service
7675
7776
mkdir -p $APP_DIR
7877
cd $APP_DIR
@@ -83,6 +82,9 @@ jobs:
8382
EOF
8483
chmod 600 .env
8584
85+
# docker-compose.yml ์† DOCKER_USERNAME ํ™˜๊ฒฝ๋ณ€์ˆ˜๋กœ ์ฃผ์ž…
86+
export DOCKER_USERNAME="${{ secrets.DOCKER_USERNAME }}"
87+
8688
# ์ตœ์‹  ์ด๋ฏธ์ง€ pull & app ๊ต์ฒด
8789
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
8890
docker compose pull app

0 commit comments

Comments
ย (0)