From bff101029e466f7e1cd9110fbc652d232b758873 Mon Sep 17 00:00:00 2001 From: Csaba Apagyi Date: Tue, 8 Oct 2024 20:13:07 +0200 Subject: [PATCH] Update docker-compose syntax --- .github/workflows/ci.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5accb3d6..66565c82 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,13 +17,13 @@ jobs: run: ./scripts/docker_setup_init.sh - name: Pull images - run: docker-compose pull db + run: docker compose pull db - name: Docker build - run: docker-compose build web + run: docker compose build web - name: Docker init - run: docker-compose run --rm web sh -c 'exit 0' + run: docker compose run --rm web sh -c 'exit 0' build-docker-image: runs-on: ubuntu-latest @@ -77,10 +77,10 @@ jobs: run: ./scripts/docker_setup_init.sh - name: Pull images - run: docker-compose pull + run: docker compose pull - name: Run lint - run: docker-compose run web yarn lint + run: docker compose run web yarn lint test: runs-on: ubuntu-latest @@ -108,10 +108,10 @@ jobs: run: ./scripts/docker_setup_init.sh - name: Pull images - run: docker-compose pull + run: docker compose pull - name: Run tests - run: docker-compose run web yarn test + run: docker compose run web yarn test test-request: runs-on: ubuntu-latest @@ -139,10 +139,10 @@ jobs: run: ./scripts/docker_setup_init.sh - name: Pull images - run: docker-compose pull + run: docker compose pull - name: Run request tests - run: docker-compose run web yarn test:request + run: docker compose run web yarn test:request test-e2e: runs-on: ubuntu-latest @@ -171,10 +171,10 @@ jobs: run: ./scripts/docker_setup_init.sh - name: Pull images - run: docker-compose pull + run: docker compose pull - name: Docker up - run: docker-compose up --detach + run: docker compose up --detach - name: Cypress run uses: cypress-io/github-action@v4 @@ -193,7 +193,7 @@ jobs: - name: Docker setup logs if: always() - run: docker-compose logs --timestamps --tail="all" > docker-logs.txt + run: docker compose logs --timestamps --tail="all" > docker-logs.txt - name: Save log artifacts uses: actions/upload-artifact@v2