diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index db48398..216c8d6 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