Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ jobs:
script: |
set -e

# Docker Hub 로그인
echo "${{ secrets.DOCKER_ACCESS_TOKEN }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin

# 이미지 pull 및 컨테이너 재시작
docker pull ${{ secrets.DOCKER_USERNAME }}/pinhouse:latest
docker rm -f pinhouse || true
docker run -d \
--name pinhouse \
--restart unless-stopped \
-p 3000:3000 \
${{ secrets.DOCKER_USERNAME }}/pinhouse:latest