From 30f1c54ed1dfe43adea2498afa7fa9db904e1518 Mon Sep 17 00:00:00 2001 From: Maycon Santos Date: Fri, 8 Sep 2023 19:28:34 +0200 Subject: [PATCH] Fix: docker test for infrastructure files (#1136) * Fix: docker test for infrastructure files * Fix: docker test for infrastructure files --- .github/workflows/test-infrastructure-files.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-infrastructure-files.yml b/.github/workflows/test-infrastructure-files.yml index d196ce0e0..f7d6766fc 100644 --- a/.github/workflows/test-infrastructure-files.yml +++ b/.github/workflows/test-infrastructure-files.yml @@ -120,7 +120,7 @@ jobs: - name: test running containers run: | - count=$(docker compose ps --format json | jq '.[] | select(.Project | contains("infrastructure_files")) | .State' | grep -c running) + count=$(docker compose ps --format json | jq '. | select(.Name | contains("infrastructure_files")) | .State' | grep -c running) test $count -eq 4 working-directory: infrastructure_files