Skip to content

Commit

Permalink
darwin-amd64: set DOCKER_HOST to Colima location
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddeco committed Dec 14, 2022
1 parent 57543ae commit cef8a78
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ jobs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install and configure Docker using colima
# Ref: https://github.com/abiosoft/colima/blob/main/docs/FAQ.md#cannot-connect-to-the-docker-daemon-at-unixvarrundockersock-is-the-docker-daemon-running
run: |
brew install docker
colima start
echo "DOCKER_HOST=unix://$HOME/.colima/default/docker.sock" >> $GITHUB_ENV
- name: Run tests
run: make test
env:
Expand Down

0 comments on commit cef8a78

Please sign in to comment.