JUHE API Marketplace

HttpRequest Automate

Active

HttpRequest Automate streamlines Docker registry management by automatically listing images, retrieving tags, and removing outdated tags on a scheduled basis. This workflow ensures your registry remains clean and efficient, retaining only the most relevant images while sending notifications for actions taken.

Workflow Overview

HttpRequest Automate streamlines Docker registry management by automatically listing images, retrieving tags, and removing outdated tags on a scheduled basis. This workflow ensures your registry remains clean and efficient, retaining only the most relevant images while sending notifications for actions taken.

This workflow is ideal for:

  • DevOps Engineers: Who need to manage Docker images efficiently and keep the registry clean.
  • System Administrators: Responsible for maintaining Docker registries and ensuring optimal storage usage.
  • Cloud Engineers: Looking to automate Docker image management as part of their CI/CD pipelines.
  • Development Teams: Who regularly push images to Docker registries and want to manage old tags automatically.

This workflow addresses the challenge of managing Docker images in a registry by automating the removal of old, unused tags. It ensures that only the latest and most relevant images are retained, thus optimizing storage and maintaining a clean environment. Additionally, it provides notifications via email about removed images, ensuring transparency and awareness among team members.

  1. Scheduled Trigger: The workflow initiates at 1 AM daily.
  2. List Images: It retrieves the list of images from the Docker registry.
  3. Extract Image Names: The workflow extracts the names of the images for further processing.
  4. Retrieve Image Tags: For each image, it retrieves the associated tags.
  5. Split Tags: The tags are split out for individual processing.
  6. Filter Valid Tags: Only valid and non-empty tags are retained for further action.
  7. Fetch Manifest Digest: The workflow fetches the manifest digest for each valid tag to gather additional metadata.
  8. Update Fields: Relevant fields such as name, tag, created, and digest are updated for each image.
  9. Sort by Creation Date: Tags are sorted based on their creation date in descending order.
  10. Group Tags by Image: Tags are grouped by their respective images for easier management.
  11. Identify Tags to Remove: The workflow identifies which tags should be removed, keeping only the latest and the 10 most recent tags.
  12. Remove Old Tags: The identified old tags are deleted from the registry.
  13. Send Notification Email: A notification email is sent for each removed tag, informing the team of the action taken.
  14. Execute Garbage Collection: Finally, a garbage collection command is executed to free up space in the registry.

Statistics

16
Nodes
0
Downloads
17
Views
8768
File Size

Quick Info

Categories
Schedule Triggered
Complex Workflow
Complexity
complex

Tags

advanced
api
integration
complex
schedule
schedule trigger
automation
cron
+6 more

Boost your workflows with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more. Free trial.