Skip to content

Commit

Permalink
update dev_docker_gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
KiSeungMin committed Sep 21, 2024
1 parent c596bc6 commit 98fe3c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dev_docker_gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
port: 22 # SSH 연결에 사용할 포트 (기본값 22)
script: |
# Bastion 서버에서 스프링 서버로 SSH 연결 및 도커 작업 수행
ssh -o StrictHostKeyChecking=no -i ~/new-dev-an2-ono-spring-key.pem ec2-user@${{ secrets.DEV_SPRING_SERVER_IP }} << 'EOSSH'
ssh -o StrictHostKeyChecking=no -i /home/ubuntu/new-dev-an2-ono-spring-key.pem ubuntu@${{ secrets.DEV_SPRING_SERVER_IP }} << 'EOSSH'
# 스프링 서버에서 Docker Hub에 로그인
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
# 최신 Docker 이미지를 Docker Hub에서 Pull
Expand Down

0 comments on commit 98fe3c2

Please sign in to comment.