ci: fix restart docker
Some checks failed
build-docker-images-for-latest-release / build-and-push (push) Failing after 1m51s

This commit is contained in:
fly6516 2024-12-29 11:30:42 +08:00
parent d17b7bf999
commit 13594a37cb

View File

@ -28,8 +28,11 @@ jobs:
# Restart Docker Daemon Without systemd
- name: Restart Docker Daemon
run: |
sudo chmod 644 /etc/docker/daemon.json
sudo pkill -f dockerd || true
sudo pkill -f docker || true
sudo nohup dockerd > /dev/null 2>&1 &
sudo nohup docker > /dev/null 2>&1 &
sleep 5
# Validate Docker Configuration