-
Notifications
You must be signed in to change notification settings - Fork 201
Closed
Description
What is the version of your ORAS CLI
1.1.0-rc.2
What would you like to be added?
I was pushing an empty artifact using the below command and noticed that it took 9 requests to complete.
oras push $myreg/$myrepo:$mytag --debug
The requests were:
request #0
: HEAD manifest digest - 401
request #1
: POST token (scope: pull) - 200
request #2
: HEAD manifest digest - 404
request #3
: HEAD config ({}) - 404
request #4
: POST config ({}) - 401
request #5
: POST token (scope: pull, push) - 200
request #6
: POST config ({}) - 202
request #7
: PUT config ({}) - 201
request #8
: PUT manifest tag - 201
It looks like the auth-related requests #4
and #5
(the one with underlines) can be saved on ORAS side.
Why is this needed for ORAS?
This can further improve the performance of ORAS.
Are you willing to submit PRs to contribute to this feature?
- Yes, I am willing to implement it.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request