Skip to content

Commit

Permalink
chore: dockerHub에서 최신의 이미지를 가져오도록 스크립트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kitaee committed Jan 6, 2025
1 parent 4a0a43f commit ee93406
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 @@ -46,7 +46,7 @@ jobs:
username: ubuntu
key: ${{ secrets.KEY }}
script: |
sudo docker pull ${{ secrets.DOCKER_USERNAME }}
sudo docker pull ${{ secrets.DOCKER_REPO }}
sudo docker stop $(sudo docker ps -q) 2>/dev/null || true
sudo docker run --name github-actions-demo --rm -d -p 8080:8080 ${{ secrets.DOCKER_USERNAME }}
sudo docker run --name github-actions-demo --rm -d -p 8080:8080 ${{ secrets.DOCKER_REPO }}
sudo docker system prune -f

0 comments on commit ee93406

Please sign in to comment.