docker / hub-feedback

Feedback and bug reports for the Docker Hub
https://hub.docker.com
233 stars 48 forks source link

Last updated missing from tags older than 8 years #2344

Open externl opened 10 months ago

externl commented 10 months ago

Hi,

I submitted this originally by email and am following up here.

The tag last updated date is missing/null for tags that are older than 8 years. This is visible with the REST API and on the website.

REST: tag_last_updated JSON field is null when listing repository tags. Web: Last updated section is empty.

For example see https://hub.docker.com/layers/grafana/grafana/2.1.3/images/sha256-d006137cda0f6ab2b93ce9bb255714f83cfa434cdc0657b1b1371fd41c2811ca?context=explore

curl 'https://hub.docker.com/v2/repositories/grafana/grafana/tags/?page_size=10000'

 {
      "creator": 35009,
      "id": 785384,
      "images": [
        {
          "architecture": "amd64",
          "features": "",
          "variant": null,
          "digest": "sha256:d006137cda0f6ab2b93ce9bb255714f83cfa434cdc0657b1b1371fd41c2811ca",
          "os": "",
          "os_features": "",
          "os_version": null,
          "size": 96233974,
          "status": "active",
          "last_pulled": "2023-08-29T14:22:00.528184Z",
          "last_pushed": null
        }
      ],
      "last_updated": null,
      "last_updater": 35009,
      "last_updater_username": "grafana",
      "name": "2.1.3",
      "repository": 135617,
      "full_size": 96233782,
      "v2": true,
      "tag_status": "active",
      "tag_last_pulled": "2023-08-29T14:22:00.528184Z",
      "tag_last_pushed": null,
      "media_type": "application/vnd.docker.distribution.manifest.v1+prettyjws",
      "content_type": "image"
    },

Task List

milosgajdos commented 10 months ago

Thanks for reporting, we've identified this issue and will work on a fix. We've not ETA at the moment.