"Garbage collecting" a package for a repo?

Specifically what I’m thinking of is a way to remove old tags in a container package since I’m going to end up generating ~1000 tags each time I run through a build and while they will all be relatively small I don’t necessarily want to keep a bunch of the old ones around longer term.

I’m assuming that I’ll probably end up needing to do some API calls/scripting outside of Gitea to accomplish what I want but I don’t know what to look for on how to build that myself.

I think we have already this feature Storage | Gitea Documentation