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