From cb2a16eb0d91146fbe00cc21084854c2a8386606 Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Thu, 11 Jul 2024 17:00:45 +0100 Subject: [PATCH] Change from docker-compose command to docker compose. --- .github/workflows/docker-build-test.yml | 4 ++-- .github/workflows/docker-migrations-build-test.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-build-test.yml b/.github/workflows/docker-build-test.yml index b534b7f..1bdddc3 100644 --- a/.github/workflows/docker-build-test.yml +++ b/.github/workflows/docker-build-test.yml @@ -49,9 +49,9 @@ jobs: file: ${{ matrix.dockerfile }} tags: 1337kavin/piped:latest - name: Start Docker-Compose services - run: docker-compose -f ${{ matrix.docker-compose-file }} up -d && sleep ${{ matrix.sleep }} + run: docker compose -f ${{ matrix.docker-compose-file }} up -d && sleep ${{ matrix.sleep }} - name: Run tests run: ./testing/api-test.sh - name: Collect services logs if: failure() - run: docker-compose -f ${{ matrix.docker-compose-file }} logs + run: docker compose -f ${{ matrix.docker-compose-file }} logs diff --git a/.github/workflows/docker-migrations-build-test.yml b/.github/workflows/docker-migrations-build-test.yml index ca18b97..183c72b 100644 --- a/.github/workflows/docker-migrations-build-test.yml +++ b/.github/workflows/docker-migrations-build-test.yml @@ -61,7 +61,7 @@ jobs: file: ${{ matrix.dockerfile }} tags: 1337kavin/piped:latest - name: Start Docker-Compose services - run: docker-compose -f ${{ matrix.docker-compose-file }} up -d && sleep ${{ matrix.sleep }} + run: docker compose -f ${{ matrix.docker-compose-file }} up -d && sleep ${{ matrix.sleep }} - run: rm piped.jar - uses: actions/download-artifact@v4 with: @@ -74,9 +74,9 @@ jobs: file: ${{ matrix.dockerfile }} tags: 1337kavin/piped:latest - name: Start Docker-Compose services - run: docker-compose -f ${{ matrix.docker-compose-file }} up -d && sleep ${{ matrix.sleep }} + run: docker compose -f ${{ matrix.docker-compose-file }} up -d && sleep ${{ matrix.sleep }} - name: Run tests run: ./testing/api-test.sh - name: Collect services logs if: failure() - run: docker-compose -f ${{ matrix.docker-compose-file }} logs + run: docker compose -f ${{ matrix.docker-compose-file }} logs