What it does
An n8n workflow that lists the images in a Docker registry through its v2 API, keeps the most recent tags of each image and deletes the older ones. It can then run garbage collection over SSH and send an email with the result, or with any failure.
Use cases
- 01Removing old image tags on a schedule
- 02Running registry garbage collection after a cleanup
- 03Emailing the team when a cleanup run fails
Connects
Send Email · HTTP Request · Code