chore: garbage collect now, not in 3 days (#153)

This commit is contained in:
Ethan Mosbaugh
2024-10-08 15:14:14 -05:00
committed by GitHub
parent b7ab57fa9b
commit c0fec69508

View File

@@ -1,7 +1,10 @@
#!/bin/sh
echo "Script started"
while true; do
sleep 72h # every 3 days
echo "Starting garbage collection..."
registry garbage-collect /etc/docker/registry/config.yml || true
echo "Garbage collection finished"
sleep 72h # every 3 days
done