etna
etna copied to clipboard
CICD: untaged docker image cleaner
🚀 Feature Request
We should delete untaged docker images because they use extra space.
Proposal
- [ ] Github workflow script on cron.
-
Github docker registry api reference. You can use
GITHUB_TOKEN
to call api - Example:
curl -H "Authorization: token $github_token" -X GET "https://api.github.com/orgs/tinkoff-ai/packages?package_type=container"
-
Github docker registry api reference. You can use
- [ ] Leave last 20 untaged images and remove other.
- [ ] Check if taged images are not at risk
Test cases
No response
Additional context
No response