From df158daa63e42bb59c13890b985f510c0061d747 Mon Sep 17 00:00:00 2001 From: Pantelis Roditis Date: Thu, 12 Sep 2024 00:23:35 +0300 Subject: [PATCH] no more docker-compose but docker compose instead!!! --- .github/workflows/ci-merged-pull_requests.yml | 12 ++++++------ .github/workflows/ci-tests.yml | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci-merged-pull_requests.yml b/.github/workflows/ci-merged-pull_requests.yml index 4c7e9ab7f..e80df973b 100644 --- a/.github/workflows/ci-merged-pull_requests.yml +++ b/.github/workflows/ci-merged-pull_requests.yml @@ -70,20 +70,20 @@ jobs: - name: Build the vpn Docker image run: docker build --squash . --file contrib/Dockerfile-vpn --tag echoctf.red-vpn:$(date +%s) - - name: Build the docker-compose stack - run: docker-compose up -d + - name: Build the docker compose stack + run: docker compose up -d - name: Check running containers run: docker ps -a - name: Drop containers - run: docker-compose down --rmi all + run: docker compose down --rmi all - - name: Build the docker-compose-novpn.yml stack - run: docker-compose -f docker-compose-novpn.yml up -d + - name: Build the docker compose-novpn.yml stack + run: docker compose -f docker-compose-novpn.yml up -d - name: Check running containers run: docker ps -a - name: Drop containers - run: docker-compose down --rmi all + run: docker compose down --rmi all diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index a656d1d3b..64c178a00 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -109,20 +109,20 @@ jobs: - name: Push the vpn Docker image run: docker push echothrust/echoctf.red-vpn:latest - - name: Build the docker-compose stack - run: docker-compose up -d + - name: Build the docker compose stack + run: docker compose up -d - name: Check running containers run: docker ps -a - name: Drop containers - run: docker-compose down --rmi all + run: docker compose down --rmi all - - name: Build the docker-compose-novpn.yml stack - run: docker-compose -f docker-compose-novpn.yml up -d + - name: Build the docker compose-novpn.yml stack + run: docker compose -f docker-compose-novpn.yml up -d - name: Check running containers run: docker ps -a - name: Drop containers - run: docker-compose down --rmi all + run: docker compose down --rmi all