DEVOPS

ML Serving Image Watcher: Rebuild When the HuggingFace Base or Model Card Changes

Watches both the upstream serving base image and the HuggingFace model your inference container ships.

CategoryDevOps
Enginesim
Difficultyintermediate
Triggerschedule
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerTwice-daily schedule
  • ActionRead base digest and model revision pinsGitHubGitHub
  • ActionFetch latest model revisionHugging FaceHugging Face
  • LogicDecide which pins are stale
  • ActionOpen rebuild PR for stale pinsGitHubGitHub
  • OutputNotify ML platform channelSlack

What it does

Inference containers pin two things that drift independently: the base serving image (with its CVEs) and the HuggingFace model revision baked in. This template watches both. When the base image is re-tagged for a security fix, or the model repo publishes a new revision, it opens a rebuild PR that updates the relevant pin so the served image stays patched and current.

When to use it

Use it for teams that bake a specific model revision into a GPU serving image and need to track security patches and model updates with the same PR-based workflow.

How it works

  1. 1A schedule fires twice daily.
  2. 2The flow reads the serving Dockerfile from GitHub to get the pinned base digest and the pinned model revision.
  3. 3It resolves the upstream base digest and queries HuggingFace for the model's latest revision.
  4. 4A logic step decides whether the base CVE re-tag, the model revision, or both changed.
  5. 5It opens a rebuild PR updating whichever pins are stale, with the reason in the body.
  6. 6It notifies the ML platform channel in Slack with what changed and why.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GitHubRepos, issues, pull requests, actions.
  2. 2
    Connect Hugging FaceModels, datasets, spaces — the open-source hub.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.