You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.
I upgraded oras from 0.16 to 1.1 and found an incompatible change.
I expect the old format credentials to work normally as well.
The analysis is as follows:
1. Logic in
oras
0.16In
oras
0.16.0, we use docker cli get credentials.https://github.com/oras-project/oras/blob/release-0.16/internal/credential/store.go#L61C1-L62
https://github.com/docker/cli/blob/1401f9108517b33fe38fb3acd59557dcdf4d603d/cli/config/credentials/file_store.go#L39-L81
2. Logic in
oras
1.1In
oras
1.1.0, we use oras-credentials-go get credentials.https://github.com/oras-project/oras/blob/release-1.1/internal/credential/store.go#L31-L38
3. actual
If such content is in my credentials, incompatible changes will occur.
4. expected
I can only alter the credentials into the following format for the new oras to recognize.
The text was updated successfully, but these errors were encountered: