Clarification on org.opencontainers.image.created annotation #1064
Unanswered
ayashjorden
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
When calling
oras push
, it automatically adds theorg.opencontainers.image.created:ISO_8601
annotation on the result manifest.This is causing a behavior such that pushing the same file, config, and tag multiple times, results in one tag, but multiple manifests.
EDIT: The file we push is not a container image component, but rather a plain tarball that we need to host at scale.
For example:
Invoking the above command, will result in 3 manifests, each id identical, except the
org.opencontainers.image.created
annotation has different values.Also, not sure how to set the manifest own media-type to our custom type.
org.opencontainers.image.created
expected?oras push
would result in the same manifest/tag so only the first one would create the resources, but further calls would just get 200OK for the HEAD calls.Happy to add more info as required,
Jordan
Beta Was this translation helpful? Give feedback.
All reactions