Skip to content

Commit

Permalink
Support for azure on linux (by @ddeville)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszwawrzyk committed Jun 17, 2024
1 parent 5fb2b16 commit 8ac0e84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions oci/private/authn.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ def _get_auth(rctx, state, registry):
login, sep, password = base64.decode(raw_auth).partition(":")
if not sep:
fail("auth string must be in form username:password")
if not password and "identitytoken" in auth_val:
password = auth_val["identitytoken"]
pattern = {
"type": "basic",
"login": login,
Expand Down

0 comments on commit 8ac0e84

Please sign in to comment.