{"id":19838512,"url":"https://github.com/metal-stack/oci-mirror","last_synced_at":"2026-02-25T08:20:20.669Z","repository":{"id":208588777,"uuid":"721689218","full_name":"metal-stack/oci-mirror","owner":"metal-stack","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-21T14:24:20.000Z","size":100,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-08-21T17:00:02.066Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/metal-stack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-21T15:16:55.000Z","updated_at":"2025-08-21T14:24:22.000Z","dependencies_parsed_at":"2024-06-02T08:42:42.712Z","dependency_job_id":"6a32e3d6-4a2e-4b19-91e6-34ec31583742","html_url":"https://github.com/metal-stack/oci-mirror","commit_stats":null,"previous_names":["metal-stack/oci-mirror"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/metal-stack/oci-mirror","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Foci-mirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Foci-mirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Foci-mirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Foci-mirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metal-stack","download_url":"https://codeload.github.com/metal-stack/oci-mirror/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Foci-mirror/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28692662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T11:01:27.039Z","status":"ssl_error","status_checked_at":"2026-01-23T11:00:26.909Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T12:18:01.700Z","updated_at":"2026-01-23T13:03:29.933Z","avatar_url":"https://github.com/metal-stack.png","language":"Go","readme":"# OCI Mirror\n\nContainer and OCI Image Mirror.\n\n`oci-mirror` lets you mirror container images or any other oci artefact between registries.\nIt is designed to run on a regular basis, as a [CronJob](https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs) in kubernetes for example.\nUnder the hood it uses [go-containerregistry](https://github.com/google/go-containerregistry) to copy images directly from one registry to another.\n\n## Configuration\n\nConfiguration is done with a `yaml` configuration, defaults to `oci-mirror.yaml`.\n\n## Quickstart\n\nFirst create a `oci-mirror.yaml` which matches your needs, then run it with the following command:\n\n```bash\ndocker run -it -v $PWD/oci-mirror.yaml:/oci-mirror.yaml --rm ghcr.io/metal-stack/oci-mirror mirror\n```\n\n## Kubernetes\n\nThere is a sample deployment manifest available, you can simple run:\n\n```bash\nkubectl apply -f deploy\n```\n\n## TODO\n\n- [x] support purging\n- [ ] eventually support http(s) artifacts to be stored as OCIs\n- [ ] ~~~support Regex Match for image tags~~~\n- [ ] store a OCI artifact which reflects all stored images ?\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetal-stack%2Foci-mirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetal-stack%2Foci-mirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetal-stack%2Foci-mirror/lists"}