Skip to content

Commit

Permalink
Docker pt. 2
Browse files Browse the repository at this point in the history
  • Loading branch information
NickAcPT committed Aug 12, 2024
1 parent e621000 commit e621000
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,19 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Docker
- name: Set up Docker (Linux)
if: ${{ matrix.os == 'ubuntu-latest' }}
uses: crazy-max/ghaction-setup-docker@v3

- name: Set up Docker
if: ${{ matrix.os == 'macos-latest' }}
run: |
brew install docker
colima start
# For testcontainers to find the Colima socket
# https://github.com/abiosoft/colima/blob/main/docs/FAQ.md#cannot-connect-to-the-docker-daemon-at-unixvarrundockersock-is-the-docker-daemon-running
sudo ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand Down

0 comments on commit e621000

Please sign in to comment.