This commit is contained in:
parent
d699087e20
commit
8751eeaf9b
1 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ def main [
|
|||
} else {
|
||||
$registry
|
||||
}
|
||||
) | parse --regex "(?:https?://)?(?P<rest>.*)" | get 0.rest
|
||||
) | from url | get 0.rest
|
||||
|
||||
let repository = (
|
||||
if ($repository | is-empty) {
|
||||
|
@ -130,7 +130,7 @@ def main [
|
|||
} else {
|
||||
$repository
|
||||
}
|
||||
)
|
||||
) | url parse | url join
|
||||
|
||||
|
||||
regctl registry login $registry --user $auth.username --pass $auth.password
|
||||
|
|
Loading…
Reference in a new issue