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?
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.
The requests were:
request
#0: HEAD manifest digest - 401request
#1: POST token (scope: pull) - 200request
#2: HEAD manifest digest - 404request
#3: HEAD config ({}) - 404request
#4: POST config ({}) - 401request
#5: POST token (scope: pull, push) - 200request
#6: POST config ({}) - 202request
#7: PUT config ({}) - 201request
#8: PUT manifest tag - 201It looks like the auth-related requests
#4and#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?