Cleans up old images
This commit is contained in:
commit
a480820111
14
.woodpecker.yaml
Normal file
14
.woodpecker.yaml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
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
|
||||
Loading…
Reference in a new issue