{"id":27786274,"url":"https://github.com/clever/prune-images","last_synced_at":"2025-07-13T20:35:33.141Z","repository":{"id":26560502,"uuid":"108912413","full_name":"Clever/prune-images","owner":"Clever","description":"a worker that prunes old images from ECR and Docker Hub","archived":false,"fork":false,"pushed_at":"2025-06-09T20:18:49.000Z","size":131,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":43,"default_branch":"master","last_synced_at":"2025-07-03T00:04:36.373Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Clever.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-10-30T21:51:11.000Z","updated_at":"2025-06-09T20:18:46.000Z","dependencies_parsed_at":"2024-02-16T00:30:32.967Z","dependency_job_id":"a736c61a-9b77-4a6b-b125-08c360c59f29","html_url":"https://github.com/Clever/prune-images","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Clever/prune-images","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clever%2Fprune-images","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clever%2Fprune-images/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clever%2Fprune-images/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clever%2Fprune-images/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Clever","download_url":"https://codeload.github.com/Clever/prune-images/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clever%2Fprune-images/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265200518,"owners_count":23726843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2025-04-30T15:58:46.693Z","updated_at":"2025-07-13T20:35:33.110Z","avatar_url":"https://github.com/Clever.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prune-images\n\nPrune-images is a worker that removes old images from Amazon ECR and Docker Hub. It will retain the 100 most recent images on Docker Hub and remove the rest. All of the images that were removed on Docker Hub will also be removed on Amazon ECR.\n\n## Deploying\n\nTo run on production:\n```\nark start prune-images -e production\n```\n\n**Important**: when a job is submitted to a worker that is running on production, the images that qualify for pruning will actually be removed. There is a `DRY_RUN` environment variable that is available which will return all the images that will be deleted, but will not perform the delete.\n\n## Required Environment Variables\n\n`DRY_RUN`: can be either `true` or `false`. Indicateds whether or not the delete will occur for images that qualify for pruning. If `true`, then the worker's output will print the delete calls that will be made to Amazon ECR.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclever%2Fprune-images","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclever%2Fprune-images","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclever%2Fprune-images/lists"}