Skip to content

Commit de75af4

Browse files
committed
dind
1 parent 769e5d1 commit de75af4

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/stage0.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ jobs:
1818
volumes:
1919
- /var/lib/buildkit/${{ github.repository }}:/var/lib/buildkit
2020
- /usr/etc/buildkit/buildkitd.toml:/etc/buildkit/buildkitd.toml
21+
docker:
22+
image: docker:dind
23+
options: --privileged
24+
ports:
25+
- 22375:2375
26+
# volumes:
27+
# - /var/run/docker1.sock:/var/run/docker.sock:ro
2128
steps:
2229
-
2330
name: gather-system-info
@@ -49,6 +56,17 @@ jobs:
4956
-
5057
name: Checkout
5158
uses: actions/checkout@v4
59+
- name: info1
60+
run: |
61+
docker info
62+
- name: Build stage0
63+
run: |
64+
# echo "DOCKER_HOST=unix:///var/run/docker1.sock" >> $GITHUB_ENV
65+
echo "DOCKER_HOST=tcp://localhost:22375" >> $GITHUB_ENV
66+
- name: info2
67+
run: |
68+
env
69+
docker info
5270
-
5371
name: Set up Docker Buildx
5472
id: setup-buildx

0 commit comments

Comments
 (0)