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

@@ -27,6 +27,8 @@
name: watchtower
image: containrrr/watchtower
restart_policy: always
command:
- --cleanup
volumes:
- /var/run/docker.sock:/var/run/docker.sock
state: started