Skip to content

Commit 21e15cd

Browse files
committed
try bind-mount /var/run/docker.sock
1 parent e7e8561 commit 21e15cd

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959

6060
build:
6161
needs: build-sentry-native
62-
name: .NET (${{ matrix.container || matrix.os }})
62+
name: .NET (${{ matrix.container.image || matrix.os }})
6363
runs-on: ${{ matrix.os }}
6464
container: ${{ matrix.container }}
6565

@@ -73,7 +73,10 @@ jobs:
7373
target: Linux-arm64
7474
- os: ubuntu-latest
7575
target: Linux-musl
76-
container: ghcr.io/getsentry/sentry-dotnet-alpine:3.21
76+
container:
77+
image: ghcr.io/getsentry/sentry-dotnet-alpine:3.21
78+
volumes:
79+
- /var/run/docker.sock:/var/run/docker.sock
7780
- os: macos-15 # Pin macos to get the version of Xcode that we need: https://github.com/actions/runner-images/issues/10703
7881
- os: windows-latest
7982
- os: windows-11-arm
@@ -214,7 +217,7 @@ jobs:
214217
path: src
215218

216219
- name: Install Docker on Alpine Linux
217-
if: ${{ contains(matrix.container, 'alpine') }}
220+
if: ${{ contains(matrix.container.image, 'alpine') }}
218221
run: |
219222
sudo apk add docker-cli
220223

0 commit comments

Comments
 (0)