Skip to content

Commit da14ca3

Browse files
committed
ci: Fix docker compose
Newer Ubuntu runner images on Github Actions contain Docker Compose v2 which is now a subcommand of the docker CLI. Switch to that.
1 parent d797b98 commit da14ca3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/container-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- name: Bring up the environment
2323
run: |
24-
docker-compose -f docker-compose.yml -f docker-compose.dev.yml \
24+
docker compose -f docker-compose.yml -f docker-compose.dev.yml \
2525
up --build --detach
2626
2727
# curl and jq are preinstalled on Github ubuntu-latest runner
@@ -64,8 +64,8 @@ jobs:
6464
6565
- name: Get logs
6666
if: always()
67-
run: docker-compose logs
67+
run: docker compose logs
6868

6969
- name: Bring down the environment
7070
if: always()
71-
run: docker-compose -f docker-compose.yml -f docker-compose.dev.yml down
71+
run: docker compose -f docker-compose.yml -f docker-compose.dev.yml down

0 commit comments

Comments
 (0)