Skip to content

tart images pushed to gitlab container registry always show a publish date of right now #603

Answered by edigaryev
cosmoshepcat asked this question in Q&A
Discussion options

You must be logged in to vote

This looks like a purely GitLab Registry's issue to me.

If you toggle the Use relative times setting in Preferences → Time preferences, you'll see that GitLab Registry simply leaves the timestamp uninitialized for manifests/configs that they fail to recognize and pull the timestamp from1:

Compare this to GitHub:

1: GitLab Registry pulls the created field from the manifest configuration object of type application/vnd.docker.container.image.v1+json. However, Tart uses a different media type of application/vnd.oci.image.config.v1+json. There exist a well-known annotation oci.opencontainers.image.created mentioned in the OCI Image Format Specification, but GitLab Registry doesn't seem to su…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cosmoshepcat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants