Skip to content

Commit

Permalink
chore: 실행중인 컨테이너 이름으로 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
wocks1123 committed May 2, 2024
1 parent eaa50da commit 4e1cac7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ jobs:
key: ${{ secrets.SSH_KEY }}
script: |
docker pull ${{ secrets.DOCKER_USERNAME }}/${{ secrets.PROJECT_NAME }}
docker stop $(docker ps -q --filter "publish=80")
docker rm $(docker ps -q --filter "publish=80")
docker stop matthew
docker rm matthew
docker run -d --log-driver=syslog -p 80:8080 --name matthew \
-e DATASOURCE_URL=${{ secrets.DATASOURCE_URL }} \
-e DATASOURCE_USERNAME=${{ secrets.DATASOURCE_USERNAME }} \
Expand Down

0 comments on commit 4e1cac7

Please sign in to comment.