image-cleanup/.woodpecker.yaml
2026-01-26 12:40:41 +01:00

14 lines
257 B
YAML

when:
- event: cron
cron: "weekly"
- event: push
branch: main
steps:
deploy:
image: docker:28-cli
privileged: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- docker system prune -af --volumes