From 46ff76f49e469bdcdcec46cdeb4e44e061e55ba3 Mon Sep 17 00:00:00 2001 From: Flavian Desverne Date: Mon, 3 Jun 2024 16:15:29 +0200 Subject: [PATCH] try installing docker on macos differently --- .github/workflows/test.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e9025d34..f7e72f2a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -208,7 +208,15 @@ jobs: - uses: actions-rs/toolchain@v1 - - uses: docker-practice/actions-setup-docker@master + - name: Install docker # Taken from https://github.com/actions/virtual-environments/issues/1143#issuecomment-652264388 + run: | + mkdir -p ~/.docker/machine/cache + curl -Lo ~/.docker/machine/cache/boot2docker.iso https://github.com/boot2docker/boot2docker/releases/download/v19.03.12/boot2docker.iso + brew install docker docker-machine + docker-machine create --driver virtualbox default + docker-machine env default + + # - uses: docker-practice/actions-setup-docker@master - name: Start SQL Server ${{matrix.database}} run: DOCKER_BUILDKIT=1 docker-compose -f docker-compose.yml up -d mssql-${{matrix.database}}