Closed prestonvanloon closed 3 months ago
Looks like this a workaround in https://github.com/bazel-contrib/rules_oci/issues/49. I still think this is a bug to not have a sensible default created timestamp.
Actually, that workaround to the labels does add the proper config labels but the timestamps are still all bogus as seen above.
Also relevant: https://github.com/google/go-containerregistry/issues/1703
It is done for reproducibility purposes. Principled fix for this is #49.
Can i close this?
It is done for reproducibility purposes.
turns out we never implemented this. sorry for the confusion.
This is now fixed, for stamping please see: https://github.com/bazel-contrib/rules_oci/issues/661
Not sure how to best explain this issue, but we are seeing layers uploaded with an invalid creation time when it is expected to be unix epoch 0 (
1970-01-01T00:00:00Z
)Example of an image created with rules_oci and the history is all invalid timestamps