In light of some recent news about Docker deleting organizations and the
containers that are registered with those organizations I figured I would share
how we manage our Docker Containers. Zuplo uses a simple Github Action that runs
on a cron schedule that mirrors containers we depend on. We initially built this
because we experienced some downtime with Docker Hub that caused interruptions
to our deployments. The other reason we mirror images is to keep them close to
where we use them - in our case that means GCP Artifact Registry.
The Github Action is fairly simple (see below). This has worked well for us and
has removed our dependency on Docker Hub for day to day deployments.