We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9a956d commit 8c21e43Copy full SHA for 8c21e43
1 file changed
action.yaml
@@ -31,6 +31,22 @@ inputs:
31
runs:
32
using: "composite"
33
steps:
34
+ - name: Disable containerd image store
35
+ shell: bash
36
+ run: |
37
+ DAEMON_JSON="/etc/docker/daemon.json"
38
+ if [ -f "$DAEMON_JSON" ]; then
39
+ sudo jq '. + {"features": {"containerd-snapshotter": false}}' "$DAEMON_JSON" \
40
+ | sudo tee "${DAEMON_JSON}.tmp" > /dev/null
41
+ sudo mv "${DAEMON_JSON}.tmp" "$DAEMON_JSON"
42
+ else
43
+ echo '{"features": {"containerd-snapshotter": false}}' \
44
+ | sudo tee "$DAEMON_JSON" > /dev/null
45
+ fi
46
+ sudo systemctl restart docker
47
+ docker version
48
+ docker info
49
+ echo "DOCKER_API_VERSION=$(docker version --format '{{.Server.APIVersion}}')" >> "$GITHUB_ENV"
50
- name: Install docker-compose
51
shell: bash
52
if: runner.os != 'Windows'
0 commit comments