Skip to content

Commit 6d90f73

Browse files
committed
fix: Github actions deprecated docker-compose v1, moving to v2 syntax
1 parent fcf9c2a commit 6d90f73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ jobs:
9494
${{ steps.init.outputs.docker_repo }}
9595
9696
- name: Run test suite
97-
run: docker-compose run sealog-server npm test
97+
run: docker compose run sealog-server npm test
9898

9999
- name: Run server and Postman tests
100100
run: |
101-
docker-compose up -d
101+
docker compose up -d
102102
sleep 10
103103
curl http://localhost:8000/sealog-server > /tmp/banner.txt
104104
grep "Welcome to sealog-server\!" /tmp/banner.txt
@@ -109,7 +109,7 @@ jobs:
109109
# Run Postman tests
110110
newman run "integration-tests/api_tests.postman_collection.json"
111111
112-
docker-compose down
112+
docker compose down
113113
114114
# Because `docker buildx build` cannot have multiple cache export targets
115115
# yet, we build and push separately.

0 commit comments

Comments
 (0)