Ensure Watchtower removes old images

The github runner machine ran our of disk space because of old runner images.
This should ensure that doesn't happen any more :o)

Signed-off-by: Matt Spencer matthew@thespencers.me.uk
This commit is contained in:
2025-03-07 18:37:22 +00:00
parent 76da1f2b6d
commit 58fd266621
2 changed files with 3 additions and 0 deletions

View File

@@ -112,6 +112,7 @@
- /var/run/docker.sock:/var/run/docker.sock
- /home/matt/.docker/config.json:/config.json
command:
- --cleanup
- --http-api-update
- --http-api-token={{ secrets.WATCHTOWER_HTTP_API_TOKEN }}
- --http-api-periodic-polls