tart images pushed to gitlab container registry always show a publish date of right now #603
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This looks like a purely GitLab Registry's issue to me. If you toggle the Compare this to GitHub: 1: GitLab Registry pulls the |
Beta Was this translation helpful? Give feedback.
This looks like a purely GitLab Registry's issue to me.
If you toggle the
Use relative times
setting inPreferences → 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 typeapplication/vnd.docker.container.image.v1+json
. However, Tart uses a different media type ofapplication/vnd.oci.image.config.v1+json
. There exist a well-known annotationoci.opencontainers.image.created
mentioned in the OCI Image Format Specification, but GitLab Registry doesn't seem to su…