diff --git a/.github/workflows/docker-build-test.yml b/.github/workflows/docker-build-test.yml index 6fa965d..8ccbd58 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 a442be0..d344b92 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