Skip to content

Commit f8e4c19

Browse files
committed
dind
1 parent 769e5d1 commit f8e4c19

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/stage0.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ 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+
env:
27+
- TEST_INTEGRATION_USE_SNAPSHOTTER: "1"
28+
- DOCKER_TLS_CERTDIR: ""
2129
steps:
2230
-
2331
name: gather-system-info
@@ -49,6 +57,18 @@ jobs:
4957
-
5058
name: Checkout
5159
uses: actions/checkout@v4
60+
- name: info1
61+
run: |
62+
docker info
63+
- name: Build stage0
64+
run: |
65+
# echo "DOCKER_HOST=unix:///var/run/docker1.sock" >> $GITHUB_ENV
66+
echo "DOCKER_HOST=tcp://localhost:22375" >> $GITHUB_ENV
67+
sleep 10
68+
- name: info2
69+
run: |
70+
sleep 5
71+
docker info
5272
-
5373
name: Set up Docker Buildx
5474
id: setup-buildx

0 commit comments

Comments
 (0)