{"id":15791251,"url":"https://github.com/levonet/ansible-ci-registry-rm-container","last_synced_at":"2026-01-08T16:52:19.846Z","repository":{"id":67322483,"uuid":"150726166","full_name":"levonet/ansible-ci-registry-rm-container","owner":"levonet","description":"Remove docker container from registry","archived":false,"fork":false,"pushed_at":"2019-02-06T14:19:16.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-11T23:04:39.247Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/levonet/ci_registry_rm_container","language":null,"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/levonet.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-28T10:48:23.000Z","updated_at":"2019-02-06T14:17:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"46ad0aa9-8089-40dc-9be0-241ef74435e5","html_url":"https://github.com/levonet/ansible-ci-registry-rm-container","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levonet%2Fansible-ci-registry-rm-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levonet%2Fansible-ci-registry-rm-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levonet%2Fansible-ci-registry-rm-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levonet%2Fansible-ci-registry-rm-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/levonet","download_url":"https://codeload.github.com/levonet/ansible-ci-registry-rm-container/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246523868,"owners_count":20791443,"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":"2024-10-04T23:00:34.863Z","updated_at":"2026-01-08T16:52:19.809Z","avatar_url":"https://github.com/levonet.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# CI: Remove docker container from registry\n\nThis role is useful in CI pipeline after closing Pull Request and removing infrastructure.\n\n## Role Variables\n\n- `ci_registry_scheme` (default: http)\n- `ci_registry_url` (default: localhost): Registry API url.\n- `ci_registry_container` (required): Container name.\n- `ci_registry_tag` (required): Container tag.\n- `ci_registry_username ` (optional): Registry username.\n- `ci_registry_password` (optional): Registry password.\n\n## Example Playbook\n\n```yaml\n- hosts: 127.0.0.1\n  connection: local\n  gather_facts: no\n  vars:\n    ci_registry_url: registry.myorg.com\n    ci_registry_container: myorg/myapp\n    ci_registry_tag: \"{{ myapp_tag }}\"\n  roles:\n  - role: levonet.registry-rm-container\n```\n\nAnd run in Jenkins:\n\n```bash\nansible-playbook myplaybook.yml -e myapp_tag=\"${GIT_BRANCH}\"\n```\n\n## License\n\n[MIT](https://opensource.org/licenses/MIT)\n\n## Author Information\n\nThis role was created by [Pavlo Bashynskyi](https://github.com/levonet)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevonet%2Fansible-ci-registry-rm-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flevonet%2Fansible-ci-registry-rm-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevonet%2Fansible-ci-registry-rm-container/lists"}