Skip to content

Commit 9a99091

Browse files
committed
dind
1 parent 769e5d1 commit 9a99091

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/stage0.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ 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+
volumes:
25+
- /var/run/docker1.sock:/var/run/docker.sock:ro
2126
steps:
2227
-
2328
name: gather-system-info
@@ -49,6 +54,15 @@ jobs:
4954
-
5055
name: Checkout
5156
uses: actions/checkout@v4
57+
- name: info1
58+
run: |
59+
docker info
60+
- name: Build stage0
61+
run: |
62+
echo "DOCKER_HOST=/var/run/docker1.sock" >> $GITHUB_ENV
63+
- name: info2
64+
run: |
65+
docker info
5266
-
5367
name: Set up Docker Buildx
5468
id: setup-buildx

0 commit comments

Comments
 (0)