From dc541221b6b0b944b1ce118f3f56dd2f2166888a Mon Sep 17 00:00:00 2001 From: Hunia Fatima Date: Fri, 11 Oct 2024 16:28:20 +0500 Subject: [PATCH] test: downgraded docker-compose version --- .github/workflows/cli-tests.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cli-tests.yml b/.github/workflows/cli-tests.yml index 248b595a24..0dd01a9f2e 100644 --- a/.github/workflows/cli-tests.yml +++ b/.github/workflows/cli-tests.yml @@ -50,14 +50,16 @@ jobs: docker version docker compose --version + - name: Install Docker 27.3.0 + if: ${{ matrix.os.name == 'mac' }} + run: | + curl -fsSL https://get.docker.com -o get-docker.sh + sh get-docker.sh --version 27.3.0 + # Note: we cannot use Docker Desktop because it has not been licensed for use in GithubActions - - name: Docker installation - Mac + - name: Docker Compose installation - Mac if: ${{ matrix.os.name == 'mac' }} run: | - brew install --cask docker - brew unlink docker - brew install docker@27.3.0 - brew link --force --overwrite docker@27.3.0 brew install lima docker-compose limactl start --name=default template://docker echo "DOCKER_HOST=unix:///Users/runner/.lima/default/sock/docker.sock" >> $GITHUB_ENV