Fix systemctl error in CI workflow
Some checks failed
Build bootupd with systemd-boot / build (push) Failing after 3s
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:
parent
39d4f9a7e1
commit
50beff8a03
1 changed files with 3 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue