Skip to content

Update UI to use container registry tag publishedAt field

What does this MR do and why?

Use the publishedAt field in the container registry tags list page.

The field was added in Add new field publishedAt to ContainerRegistry:... (#432724 - closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

No change in UI

How to set up and validate locally

  1. Setup & enable Container Registry https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/registry.md

  2. Make sure to enable the metadata database https://gitlab.com/gitlab-org/container-registry/-/blob/master/docs/database-local-setup.md?ref_type=heads

  3. Follow steps in https://gitlab.com/gitlab-org/ci-cd/package-stage/package/-/wikis/Packages-Tips-&-Tricks#how-to-add-images-with-tags-quickly-to-the-registry

  4. Run the following in the terminal

    $ ./publish.sh <project-path> 5 1 127.0.0.1:5000 # creates 1 image with 5 tags
  5. Visit the container registry image list page in group & project view

  6. Visit one of the images published.

  7. Confirm published column for each row uses publishedAt time

Closes #432726 (closed)

Edited by Rahul Chanila

Merge request reports