-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Open
Labels
topic/apiConcerns mainly the APIConcerns mainly the APItype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
Description
Hi,
there does not seem to be a way with the current API spec for getting container image size.
For example the screenshot attached is available in the web interface. But via the API can't see the same information.
If I query https://gitea.url.tld/api/v1/packages/gitea/container/runner-images/ubuntu-22.04-slim
I don't see any digests and size.
if I query https://gitea.url.tld/api/v1/packages/gitea/container/runner-images
I can find all containers including ubuntu-22.04-slim
and each SHA256 digest, but there is no correlation between them. So I can't get a size for the image...
Screenshots
Gitea Version
1.24.3
Can you reproduce the bug on the Gitea demo site?
Yes
Operating System
No response
Browser Version
Firefox
Metadata
Metadata
Assignees
Labels
topic/apiConcerns mainly the APIConcerns mainly the APItype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.