Sign inSign up

joshdvir/drone-cleanup

By joshdvir

Updated over 5 years ago

Image
0

280

joshdvir/drone-cleanup repository overview

Script that cleans up old builds of all repos of a drone server.

Usage


docker run -it --rm \
  -e DRONE_SERVER=https://drone.example.com \
  -e DRONE_TOKEN=yourDroneToken \
  -e DRONE_RETENTION_DAYS=60 \
  joshdvir/drone-cleanup

Script is from here: https://gist.github.com/MorrisJobke/ab0cd0c899d691384c67f7f4523e32de

Tag summary

Content type

Image

Digest

Size

59.9 MB

Last updated

over 5 years ago

docker pull joshdvir/drone-cleanup