Skip to content

Commit a3a0464

Browse files
authored
Fix windows test (#9409)
1 parent 5137472 commit a3a0464

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

core/src/test/resources/auth-config/win/docker-credential-fake.bat

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,19 @@ if "%inputLine%" == "registrytoken.example.com" (
3030
echo }
3131
exit 0
3232
)
33+
if "%inputLine%" == "registrynoserverurl.example.com" (
34+
echo {
35+
echo "Username": "username",
36+
echo "Secret": "secret"
37+
echo }
38+
exit 0
39+
)
40+
if "%inputLine%" == "registrynoserverurltoken.example.com" (
41+
echo {
42+
echo "Username": "<token>",
43+
echo "Secret": "secret"
44+
echo }
45+
exit 0
46+
)
3347

3448
exit 1

0 commit comments

Comments
 (0)