Python · Docker · Harbor · DOCR
Migrating a container registry before the lights go out
Problem. The team's container registry (reg.mini.dev) announced shutdown with a hard deadline. 46 deployments across 3 accounts referenced images that would stop pulling in two weeks.
Built. Audited all 46 deployments, identified 7 unique images to mirror, and built registry-rollover.py — a Python script that re-tags and pushes images to DOCR and Harbor, updates deployment configs, and validates the rollover. Handled edge cases: 3 stale image tags that no longer existed, a private rescued image archive, and one blocked image (vendor rebrand). PR merged with tombstone markers for decommissioned references.
12 of 13 live deployments rolled over mechanically. Zero downtime.
View on GitHub