Skip to content

Commit

Permalink
👷 feat: check if container is running
Browse files Browse the repository at this point in the history
  • Loading branch information
synoti21 committed Oct 1, 2023
1 parent 0469c8a commit 8dde7e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,5 @@ jobs:
echo "TZ=Asia/Seoul" >> env.list
sudo docker run -d --env-file env.list --name boj-bot ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.PROJECT_NAME }}:latest
sudo rm -rf env.list
sleep 10s
sudo docker ps | grep ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.PROJECT_NAME }}:latest

0 comments on commit 8dde7e0

Please sign in to comment.