Skip to content

Commit 8b6c808

Browse files
committed
ci(github actions): add docker in docker
1 parent 111e3e9 commit 8b6c808

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ on:
77
jobs:
88
build:
99
runs-on: ubuntu-latest
10+
services:
11+
docker:
12+
image: docker:dind
13+
options: --privileged
14+
volumes:
15+
- /var/run/docker.sock:/var/run/docker.sock
1016
env:
1117
MCP_SERVER_PORT: ${{ secrets.MCP_SERVER_PORT }}
1218
YOUTUBE_API_KEY: ${{ secrets.YOUTUBE_API_KEY }}

community/youtube/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
docker run --rm -it --entrypoint sh \
3+
docker run --rm --entrypoint sh \
44
--volume /var/run/docker.sock:/var/run/docker.sock \
55
--workdir /app \
66
docker:dind \

0 commit comments

Comments
 (0)