Track weekly Docker Hub pull and star counts in Sheets

By General Input

Every Monday morning this automation records your Docker Hub pull and star counts into a Google Sheet, so you can watch each image grow week over week.

Integrations

  • Docker Hub
  • Google Sheets

Type

Deterministic Code

Categories

  • Engineering
  • Operations

Every Monday at 7am, log a snapshot of my Docker Hub image statistics into a Google Sheet so I can track how each image grows over time. This is a deterministic logging job with no summarization: each weekly run simply appends a fresh set of rows that build a historical trend I can chart later.

First, use Docker Hub's List Repositories in a Namespace operation to fetch every repository in my namespace (my Docker ID for personal repositories, or my organization name for org-owned ones). Page through all results so no repository is missed.

For each repository returned, call Docker Hub's Get Repository operation to read its current pull_count and star_count.

Then, for each repository, append one row to my tracking Google Sheet using Google Sheets' Append Values operation. Each row should have four columns in this order: the date of this run as an ISO 8601 date, the repository name, the pull count, and the star count. Append one row per repository per run so the sheet stacks a new block of rows each week.

Only append; never overwrite or summarize existing rows. Keep the same four-column order every week so the growing history stays consistent and easy to chart. If the sheet already has a header row for date, repository, pull count, and star count, keep appending beneath it.

Related prompts

Explore more prompts
Call overdue Xero customers with an AI collections agentLocal listing health board for every location you manageLet support send one-off Loops emails without an engineerStop cold emails to anyone with a live deal in PipedriveiMessage campaign console with pre-flight checks and delivery boardLinkedIn Ads budget pacing dashboard for every client accountFront desk appointment confirmation board for the next 3 daysGive your team Looker numbers without buying more seatsBuild audience segments from product usage and push to LoopsTurn the people who engage with your posts into Pipedrive leads