Skip to content

Commit 8f4ebdd

Browse files
committed
decrease docker network size so we can have more of them
1 parent c6fa8b7 commit 8f4ebdd

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/unit-tests.yml

+18
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,24 @@ jobs:
88
name: "🧪 Unit Tests"
99
runs-on: ubuntu-latest
1010
steps:
11+
- name: 🔧 Configure docker address pool
12+
run: |
13+
CONFIG='{
14+
"default-address-pools" : [
15+
{
16+
"base" : "172.17.0.0/12",
17+
"size" : 20
18+
},
19+
{
20+
"base" : "192.168.0.0/16",
21+
"size" : 24
22+
}
23+
]
24+
}'
25+
mkdir -p /etc/docker
26+
echo "$CONFIG" | sudo tee /etc/docker/daemon.json
27+
sudo systemctl restart docker
28+
1129
- name: ⬇️ Checkout repo
1230
uses: actions/checkout@v4
1331
with:

0 commit comments

Comments
 (0)