From ee86d77d92eb338c1ecb18aee0f9b7975c44dd20 Mon Sep 17 00:00:00 2001 From: Boris Glimcher <36732377+glimchb@users.noreply.github.com> Date: Fri, 2 Aug 2024 17:43:48 -0400 Subject: [PATCH] ci: use docker compose v2 Signed-off-by: Boris Glimcher <36732377+glimchb@users.noreply.github.com> --- .github/workflows/docker.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 1403cab..fb57681 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -72,12 +72,12 @@ jobs: - uses: docker/setup-qemu-action@v3 - uses: docker/setup-buildx-action@v3.0.0 - name: Start containers - run: docker-compose up --build --force-recreate --detach + run: docker compose up --build --force-recreate --detach - name: Run Tests run: | set -x - docker-compose ps - name=$(docker-compose ps | grep client | awk '{print $1}') + docker compose ps + name=$(docker compose ps | grep client | awk '{print $1}') rc=$(docker wait "${name}") if [ "${rc}" != "0" ]; then echo "client failed:" @@ -87,8 +87,8 @@ jobs: - name: Logs if: always() - run: docker-compose logs + run: docker compose logs - name: Stop containers if: always() - run: docker-compose down + run: docker compose down