Skip to content
Notis

Clean up Docker Hub images when archive records are deleted

Retiring an image record can trigger a deliberate cleanup of the matching Docker Hub image.

Trigger

OneDrive Item Deleted Trigger

Triggers when a file or folder is deleted in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.

Action

Delete Repository Image

Tool to delete a specific image within a Docker Hub repository. Use when you have confirmed the namespace, repository, and image ID to remove.

Why this helps

Deleted archive records often leave unused image variants behind.

  • Reduces abandoned image variants
  • Keeps archive retirement consistent
  • Creates a report for every cleanup attempt

Setup

Build it in a few focused steps.

  • 1Connect OneDrive and Docker Hub in Notis.
  • 2Create an automation that defines the exact image identity and confirmation rules.
  • 3Select the OneDrive Item Deleted trigger.
  • 4Choose where cleanup reports should be sent.
  • 5Test with one archive record deletion.

Questions about this workflow

What if the image identity is incomplete?

Notis should report the missing namespace, repository, or image ID instead of deleting an uncertain image.

Can this clean up tags instead?

Use the separate Delete Repository Tag action when the artifact to remove is a tag.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link One drive to Docker hub. A trigger fires from one place; an action lands in another.

One drive triggers

Docker hub actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Add Organization Member

Tool to send an invitation for a user to join a Docker Hub organization. Use when you need to grant membership by inviting a user via their username after choosing the appropriate role.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Create Docker Hub Organization

Tool to create a Docker Hub organization. Use when you need to programmatically instantiate a new namespace for organizing repositories.

ActionInstant

Onedrivebasetrigger

Base trigger for OneDrive changes using Gmail-style state management. Subclasses override `filter_changes(...)` to extract only the relevant items.

TriggerPolling

Create Docker Hub Repository

Tool to create a Docker Hub repository under a namespace. Use when you need to programmatically instantiate a new repo under your organization or user.

ActionInstant

OneDrive File Created Trigger

Triggers when a new file is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.

TriggerPolling

Create Docker Hub Webhook

Tool to create a webhook on a Docker Hub repository. Use after determining repository details.

ActionInstant

File Updated

Trigger that fires when a OneDrive file's content or metadata changes. Returns file ID, last modified time, and modifier info.

TriggerPolling

Delete Repository Image

Tool to delete a specific image within a Docker Hub repository. Use when you have confirmed the namespace, repository, and image ID to remove.

ActionInstant

OneDrive Folder Created Trigger

Triggers when a new folder is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.

TriggerPolling

Delete Docker Hub Organization

Tool to delete a specific Docker Hub organization. Use when you need to permanently remove an organization. Deletion is irreversible.

ActionInstant

OneDrive Item Deleted Trigger

Triggers when a file or folder is deleted in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.

TriggerPolling

Delete Docker Hub Repository

Tool to delete a specific Docker Hub repository. Use when you need to permanently remove a repository. Deletion is irreversible.

ActionInstant

Item Moved or Renamed

Triggers when a file or folder is moved to a different path or renamed in OneDrive. Includes both old and new path/name data in the payload.

TriggerPolling

Delete Repository Tag

Tool to delete a specific tag from a Docker Hub repository. Use after confirming the tag to remove.

ActionInstant

Connect any two apps with Notis in the middle.

One drive and Docker hub, or any other combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Docker hub.