Skip to content

Commit 99857b2

Browse files
authored
CI: update docker-ce package to v28.3.1 and config builder defaultKeepStorage (#422)
Signed-off-by: Phillip Ross <[email protected]>
1 parent 69214d5 commit 99857b2

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
env:
5353
VERSION: ${{ matrix.postgres }}-${{ matrix.postgis }}
5454
VARIANT: ${{ matrix.variant }}
55-
DOCKER_APT_PKG_VER: '5:28.1.1-1~ubuntu.24.04~noble'
55+
DOCKER_APT_PKG_VER: '5:28.3.1-1~ubuntu.24.04~noble'
5656

5757
steps:
5858
- name: Install/config specific version of Docker packages
@@ -78,8 +78,19 @@ jobs:
7878
docker run hello-world
7979
echo "***** Displaying Docker information..."
8080
docker info
81-
echo "***** Configuring Docker for containerd image store..."
81+
echo "***** Configuring Docker for containerd image store and builder keepStorage..."
8282
echo "{ \"features\": { \"containerd-snapshotter\": true }}" | sudo tee /etc/docker/daemon.json
83+
echo $'{
84+
"features": {
85+
"containerd-snapshotter": true
86+
},
87+
"builder": {
88+
"gc": {
89+
"defaultKeepStorage": "20GB",
90+
"enabled": true
91+
}
92+
}
93+
}' | sudo tee /etc/docker/daemon.json
8394
sudo systemctl restart docker
8495
docker info -f '{{ .DriverStatus }}'
8596

0 commit comments

Comments
 (0)