Skip to content

Commit 01eeb9d

Browse files
committed
Use correct credsStore/credHelpers binary
Signed-off-by: Rasmus Faber-Espensen <rfaber@gmail.com>
1 parent 385f138 commit 01eeb9d

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and **Merged pull requests**. Critical items to know are:
1414
The versions coincide with releases on pip. Only major versions will be released as tags on Github.
1515

1616
## [0.0.x](https://github.com/oras-project/oras-py/tree/main) (0.0.x)
17+
- Use the correct credsStore/credHelpers binary (0.2.37)
1718
- Properly prioritize auth methods (0.2.36)
1819
- fix 'authentication with ECR' to be an extra as intended (0.2.35)
1920
- Add support for authentication with ECR registries (0.2.34)

oras/auth/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ def logout(self, hostname: str):
6464
def _logout(self):
6565
pass
6666

67-
def _get_auth_from_creds_store(self, binary: str, hostname: str) -> str | None:
67+
def _get_auth_from_creds_store(self, suffix: str, hostname: str) -> str | None:
68+
binary = f"docker-credential-{suffix}"
6869
try:
6970
proc = subprocess.run(
7071
[binary, "get"],

oras/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
__copyright__ = "Copyright The ORAS Authors."
33
__license__ = "Apache-2.0"
44

5-
__version__ = "0.2.36"
5+
__version__ = "0.2.37"
66
AUTHOR = "Vanessa Sochat"
77
EMAIL = "vsoch@users.noreply.github.com"
88
NAME = "oras"

0 commit comments

Comments
 (0)