From 20124152f68862a41bcb34cf88f19cca9d407d67 Mon Sep 17 00:00:00 2001 From: Pranay Valson Date: Thu, 8 Aug 2024 19:08:41 -0700 Subject: [PATCH] change docker compose exec command exec Signed-off-by: Pranay Valson --- .github/workflows/docker-image.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index db48398e..216c8d6d 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -3,11 +3,11 @@ name: docker-image on: push: branches: - - "main" + - "main" pull_request: - branches: - - "main" - - "develop" + branches: + - "main" + - "develop" jobs: bsp-agent-eth: runs-on: ubuntu-latest @@ -49,7 +49,7 @@ jobs: uses: xom9ikk/dotenv@v1.0.2 - name: Run containers - run: docker-compose --env-file ".env" -f "docker-compose-ci.yml" up --build --remove-orphans --exit-code-from agent + run: docker compose --env-file ".env" -f "docker-compose-ci.yml" up --build --remove-orphans --exit-code-from agent - name: Check running agent run: docker inspect bsp-agent @@ -63,4 +63,4 @@ jobs: - name: Stop containers if: always() - run: docker-compose -f "docker-compose-ci.yml" down + run: docker compose -f "docker-compose-ci.yml" down