Skip to content

Commit

Permalink
hotfix: better docker prune
Browse files Browse the repository at this point in the history
  • Loading branch information
ludamad authored and TomAFrench committed Apr 24, 2024
1 parent 83a1721 commit 7abee3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/setup-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
echo '{"default-address-pools":[{"base":"172.17.0.0/12","size":20}, {"base":"10.99.0.0/12","size":20}, {"base":"192.168.0.0/16","size":24}]}' > /etc/docker/daemon.json
sudo service docker restart
# helps to not overuse space
docker system prune -f || true
docker system prune -f -a || true
echo "Configured docker daemon for making many networks."
# Run maybe_exit_spot.sh every minute
cp scripts/ci/spot_runner_graceful_exit.sh /run/spot_runner_graceful_exit.sh
Expand Down

0 comments on commit 7abee3c

Please sign in to comment.