Fix systemctl error in CI workflow
Some checks failed
Build bootupd with systemd-boot / build (push) Failing after 3s

- Remove systemctl restart docker command that fails in CI environment
- CI containers don't have systemd running as PID 1
- Docker proxy configuration will still be used by builds
- Add explanatory comment about systemd limitation
This commit is contained in:
robojerk 2025-09-05 09:30:37 -07:00
parent 39d4f9a7e1
commit 50beff8a03

View file

@ -51,10 +51,9 @@ jobs:
}
}' | sudo tee /etc/docker/daemon.json
# Restart Docker to apply proxy settings
sudo systemctl restart docker
echo "Using apt-cacher-ng proxy for faster Docker builds"
# Note: Docker daemon restart requires systemd, which isn't available in CI
# The proxy configuration will be used by Docker builds
echo "Docker proxy configuration created (restart not possible in CI)"
else
echo "⚠️ apt-cacher-ng not available, using standard mirrors..."
echo "Using standard Debian mirrors for Docker builds"