Skip to content

Commit

Permalink
build: modify docker compose CI
Browse files Browse the repository at this point in the history
  • Loading branch information
SeongJoon-K authored Mar 13, 2024
1 parent 0a5e02c commit 0ebf90f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ jobs:
sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
- name: Stop container if running
run: |
if docker ps | grep floud; then
docker-compose down
fi
- name: Pull latest images
run: sudo docker-compose pull

- name: Stop all containers
run: sudo docker-compose down

- name: Docker 데몬 상태 확인
run: sudo systemctl status docker
Expand All @@ -76,3 +76,5 @@ jobs:

- name: Start Docker Compose
run: sudo docker-compose up -d


0 comments on commit 0ebf90f

Please sign in to comment.