Include Docker images in storage statistics
The storage statistics introduced in !7754 (merged) don't include the size of Docker images if a container registry is setup in GitLab.
I'd be happy to submit an MR for this but am not sure yet how to approach this. It seems the image sizes displayed on the "Registry" tab on a project are fetched live from the registry through a REST API. Is there already a mechanism to notify the main GitLab application of new docker images? Otherwise I'll probably consider having a cronjob to update the project_statistics
table.
Also I noticed the following in the 8.16 release notes:
GitLab will now report per project and group how much space is being used and by what (repository, artifacts (includes Docker images) or LFS).
Was this just an incorrect assumption, or is there a way to store docker images as build artifacts instead?