Skip to content

Commit b9803e1

Browse files
authored
Merge pull request #1 from aniongithub/feature-fix-workflows
Replace 'docker-compose' with 'docker compose' in CI workflow files f…
2 parents 39a6e4b + 7312a74 commit b9803e1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- name: Build with Docker Compose
2020
run: |
21-
docker-compose build
21+
docker compose build
2222
2323
- name: Verify builds completed
2424
run: |
@@ -28,7 +28,7 @@ jobs:
2828
- name: Test health endpoint readiness
2929
run: |
3030
# Start services in background
31-
docker-compose up -d
31+
docker compose up -d
3232
3333
# Wait for services to be ready (max 5 minutes)
3434
timeout 300 bash -c 'until curl -f http://localhost:8000/memoryalpha/health > /dev/null 2>&1; do sleep 5; echo "Waiting for API..."; done'
@@ -71,5 +71,5 @@ jobs:
7171
- name: Cleanup
7272
if: always()
7373
run: |
74-
docker-compose down -v
74+
docker compose down -v
7575
docker system prune -f

.github/workflows/pr-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
- name: Build with Docker Compose
1919
run: |
20-
docker-compose build
20+
docker compose build
2121
2222
- name: Verify builds completed
2323
run: |
@@ -27,7 +27,7 @@ jobs:
2727
- name: Test health endpoint readiness
2828
run: |
2929
# Start services in background
30-
docker-compose up -d
30+
docker compose up -d
3131
3232
# Wait for services to be ready (max 5 minutes)
3333
timeout 300 bash -c 'until curl -f http://localhost:8000/memoryalpha/health > /dev/null 2>&1; do sleep 5; echo "Waiting for API..."; done'
@@ -54,5 +54,5 @@ jobs:
5454
- name: Cleanup
5555
if: always()
5656
run: |
57-
docker-compose down -v
57+
docker compose down -v
5858
docker system prune -f

0 commit comments

Comments
 (0)