From 51818b58e2c73b0256871e5f68e845c609f72200 Mon Sep 17 00:00:00 2001 From: Giorgio Salluzzo Date: Mon, 5 Feb 2024 12:04:41 +0100 Subject: [PATCH] Switch to Compose v2. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d519ef75..5bb32812 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,7 +40,7 @@ jobs: make services-up - name: Setup hostname run: | - export CONTAINER_ID=$(docker-compose ps -q proxy) + export CONTAINER_ID=$(docker compose ps -q proxy) export CONTAINER_IP=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $CONTAINER_ID) echo "$CONTAINER_IP httpbin.local" | sudo tee -a /etc/hosts - name: Test