From 8255200213a3623153975d1368314a1c92a57bda Mon Sep 17 00:00:00 2001 From: Dinika Saxena Date: Mon, 16 Sep 2024 14:36:49 +0200 Subject: [PATCH] Check if docker compose exist in pipeline --- .github/workflows/review.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index b072b9e36..634c4a78a 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -35,7 +35,7 @@ jobs: run: | docker build . --tag=nexus-web:fresh - name: Start services - run: docker-compose -f ci/docker-compose.yml up -d && sleep 60 + run: docker compose -f ci/docker-compose.yml up -d && sleep 60 - name: Copy nexus-web into Cypress container # avoids permission issue where cypress writes screenshots to host with root as user # which we can't then delete easily @@ -55,4 +55,4 @@ jobs: # --key ${{ secrets.CYPRESS_RECORD_KEY }} - name: Cleanup Docker Containers if: ${{ always() }} - run: docker-compose -f ci/docker-compose.yml down --rmi "local" --volumes + run: docker compose -f ci/docker-compose.yml down --rmi "local" --volumes