Skip to content

Commit ed2041c

Browse files
authored
add dind service to test with http client
1 parent 294d5b8 commit ed2041c

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
11
name: CI
22

33
on:
4+
workflow_dispatch:
45
pull_request:
56
branches:
67
- main
78

89
jobs:
910
build:
1011
runs-on: ubuntu-22.04
12+
services:
13+
docker:
14+
image: docker:28.1-dind
15+
env:
16+
DOCKER_TLS_CERTDIR: ""
17+
ports:
18+
- 2375:2375
19+
options: >-
20+
--privileged
21+
--health-cmd "docker info || exit 1"
22+
--health-interval 10s
23+
--health-timeout 5s
24+
--health-retries 5
1125
strategy:
1226
matrix:
1327
framework:

0 commit comments

Comments
 (0)