Skip to content

helmhub-io/scripts-and-automation

Repository files navigation

Auto Assign

Proof HTML

Welcome to your organization's demo respository

This code repository (or "repo") is designed to demonstrate the best GitHub has to offer with the least amount of noise.

The repo includes an index.html file (so it can render a web page), two GitHub Actions workflows, and a CSS stylesheet dependency.


🐳 Docker Image Migration to HelmHubIO

This Feature automates the migration of Docker images from a source Docker Hub user (e.g. bitnamilegacy) to a destination user (e.g. helmhubio) using GitHub Actions.

The workflow performs the following in sequence:

  1. Fetch all repositories from the source user on Docker Hub.
  2. List tags for each repository, filtering out SHA-based tags (e.g. sha256-*).
  3. Select the most recent valid tag (e.g. 2.4.65-debian-12-r2).
  4. Check if the image and tag already exist in the destination repository (helmhubio).
    • If the image exists, it’s skipped.
    • If not, it proceeds to migrate.
  5. Pull the image from the source repository.
  6. Tag and push the image to the destination repository on Docker Hub.
  7. Continues until all repositories have been processed.

The migration runs manually via GitHub Actions → “Run workflow”. .github/workflows/migrate-images.yml

Notes

  • The script ensures idempotency — it will not re-upload images that already exist.
  • Non-versioned tags (SHA-style) are automatically skipped.
  • Pagination support ensures all repositories are fetched, not just the first 100.

About

A code repository designed to show the best GitHub has to offer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •