Skip to content

CICD: untaged docker image cleaner #773

Closed
3 tasks
martins0n opened this issue Jun 23, 2022 · 0 comments · Fixed by #856
Closed
3 tasks

CICD: untaged docker image cleaner #773

martins0n opened this issue Jun 23, 2022 · 0 comments · Fixed by #856
Assignees
Labels
enhancement New feature or request

Comments

@martins0n
Copy link
Contributor

martins0n commented Jun 23, 2022

🚀 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"
  • Leave last 20 untaged images and remove other.
  • Check if taged images are not at risk

Test cases

No response

Additional context

No response

@martins0n martins0n added the enhancement New feature or request label Jun 23, 2022
@martins0n martins0n self-assigned this Aug 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant