Skip to content

Commit

Permalink
fix: Github actions deprecated docker-compose v1, moving to v2 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
figuernd committed Aug 21, 2024
1 parent fcf9c2a commit 43b8fa3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ jobs:
${{ steps.init.outputs.docker_repo }}
- name: Run test suite
run: docker-compose run sealog-server npm test
run: docker compose run sealog-server npm test

- name: Run server and Postman tests
run: |
docker-compose up -d
docker compose up -d
sleep 10
curl http://localhost:8000/sealog-server > /tmp/banner.txt
grep "Welcome to sealog-server\!" /tmp/banner.txt
Expand All @@ -109,7 +109,7 @@ jobs:
# Run Postman tests
newman run "integration-tests/api_tests.postman_collection.json"
docker-compose down
docker compose down
# Because `docker buildx build` cannot have multiple cache export targets
# yet, we build and push separately.
Expand Down

0 comments on commit 43b8fa3

Please sign in to comment.