Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samhammerag/docker-registry-cleanup-action
Action to delete a tag from the docker registry
https://github.com/samhammerag/docker-registry-cleanup-action
Last synced: 23 days ago
JSON representation
Action to delete a tag from the docker registry
- Host: GitHub
- URL: https://github.com/samhammerag/docker-registry-cleanup-action
- Owner: SamhammerAG
- License: mit
- Created: 2024-06-06T07:28:58.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-06-06T09:34:11.000Z (7 months ago)
- Last Synced: 2024-06-07T10:20:19.589Z (7 months ago)
- Language: TypeScript
- Size: 302 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-registry-cleanup-action
This action deletes a specific tag from a docker registry.
Currently only v2 registries with token auth are supported.## Usage
```yml
- id: cleanup
uses: SamhammerAG/docker-registry-cleanup-action@v1
with:
registry: https://myregistry.com
registry_path: projectName/appName
registry_user: myUser
registry_password: ${{ secrets.MY_REGISTRY_PASSWORD }}
tag: 1.0.5
ignoreNotFound: true
```## Config
### Action inputs
| Name | Description | Default |
| --- | --- | --- |
| `registry` | The url to the registry including protocol (registry with valid cert required) | `` |
| `registry_path` | The path to the docker images | "" |
| `registry_user` | The registry username | "" |
| `registry_password` | The registry password | "" |
| `tag` | The name of the tag | "" |
| `ignoreNotFound` | (Optional) If set to "true" the action does not fail if the tag does not exists | "false" |