-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--artifact-type
support in oras push
#466
Comments
Could we do a zero byte blob for this? |
We are still not sure if a zero-byte config blob is allowed and supported for all registries. |
BTW, even if we have a zero-byte blob, we still need to upload that empty blob. |
Hi, team! I'll start to work on resolving this issue. |
Yes zero byte blobs need to be uploaded but you can choose to short circuit it on the pull path. |
Thinking more have we considered using --config-media-type and --artifact-type to disambiguate between them. |
I think here is to make the concept of |
I made a mistake to handle PR #483, as I clicked the Github UI "sync fork" to fetch upstream in my repo/branch. Since that PR was created from my repo/branch, after my repo/branch was updated to upstream, that PR was automatedly discarded. |
Would like to make sure we’re in sync on the UX and experience before closing. |
Closing again as oras-project/oras-go#271 is planned. |
This proposal contains two changes derived from #361.
--artifact-type $type
is specified,oras push
will change the media type of the config blob, which is equivalent to--manifest-config <(echo {}):$type
--artifact-type
must be specified and an ORAS artifact manifest will be pushed.The text was updated successfully, but these errors were encountered: