Skip to content

Commit

Permalink
Update main.yml switched missed docker-compose commands to docker com…
Browse files Browse the repository at this point in the history
…pose

Signed-off-by: eeganlf <[email protected]>
  • Loading branch information
eeganlf authored Aug 4, 2024
1 parent 111b95d commit 40f45ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Check if services are running
working-directory: ./setup
run: |
if docker-compose ps | grep -q "Up"; then
if docker compose ps | grep -q "Up"; then
echo "Services are up and running."
else
echo "Error: Services failed to start properly."
Expand All @@ -55,7 +55,7 @@ jobs:
- name: Test Docker service
working-directory: ./setup
run: |
if docker-compose exec -T docker docker info > /dev/null 2>&1; then
if docker compose exec -T docker docker info > /dev/null 2>&1; then
echo "Docker service is functioning properly."
else
echo "Error: Docker service is not functioning as expected."
Expand Down

0 comments on commit 40f45ce

Please sign in to comment.