Skip to content

Shows container registry image created time

What does this MR do and why?

Context: #372004 (closed)

This MR removes existing updated at text on the container registry details page & replaces it with created at time.

Screenshots or screen recordings

before after
Screenshot_2023-04-04_at_10.08.47_am Screenshot_2023-04-03_at_11.47.12_pm

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. Add a few images with tags by following https://gitlab.com/gitlab-org/ci-cd/package-stage/package/-/wikis/Packages-Tips-&-Tricks#how-to-add-images-with-tags-quickly-to-the-registry

  3. Alternatively, in the terminal

    $ docker pull hello-world
    $ for i in `seq -f "%02g" 1 5`; do docker tag hello-world 127.0.0.1:5000/<project-path>/hello-world:$i; done
    $ for i in `seq -f "%02g" 1 5`; do docker push 127.0.0.1:5000/<project-path>/hello-world:$i; done
  4. Visit the container registry list page for the project

  5. clicking one of the images should take you the tags list(details) page

  6. Confirm Last updated has been changed to Created

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Closes #372004 (closed)

Edited by Rahul Chanila

Merge request reports