Skip to content

Commit

Permalink
feat : dokcer-compose 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
sangminee committed Nov 1, 2023
1 parent 8d236a8 commit ff8d2f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,8 @@ jobs:
script: |
sudo docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
sudo docker rm -f $(sudo docker ps -qa)
sudo docker-compose -f /path/on/ec2/docker-compose.yml up -d
sudo docker pull ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPO }}
sudo docker run -d -p 8081:8081 ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPO }}:latest
sudo docker-compose up -d

0 comments on commit ff8d2f2

Please sign in to comment.