Skip to content

Commit

Permalink
feat(#35): docker image version fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mjh000526 committed Nov 12, 2024
1 parent 2f6b6ce commit a2eac63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

- name: Deploy to server
run: |
ssh -o StrictHostKeyChecking=no [email protected] "docker pull docker-server:${{ github.sha }} && \
ssh -o StrictHostKeyChecking=no [email protected] "docker pull docker-server:demo && \
docker stop froxy-container || true && \
docker rm froxy-container || true && \
docker run -d --name froxy-container docker-server:${{ github.sha }}" # 서버에 Docker 이미지 다운로드 후 실행
docker run -d --name froxy-container docker-server:demo}" # 서버에 Docker 이미지 다운로드 후 실행

0 comments on commit a2eac63

Please sign in to comment.