Automate Docker Registry Cleanup and Notifications
This workflow automates the cleanup of old image tags in a Docker registry, preserving the latest and most recent tags, and sends notifications upon completion or failure.
This workflow is designed to efficiently manage Docker registry storage by identifying and removing outdated image tags. It ensures the latest and up to 10 recent tags are preserved while older tags are deleted. The workflow also includes garbage collection to free up space and sends email notifications to inform users of the cleanup status. It requires Docker Registry v2 API access, basic authentication credentials, and SMTP email settings for notifications.
Platform
n8n
Category
Development & IT
Price
Free
Creator
Priya Desai
set
ssh
code
sort
filter
splitOut
emailSend
httpRequest
scheduleTrigger
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.