()
| 94 | } |
| 95 | |
| 96 | function loginHint() { |
| 97 | const runtime = getRuntime(); |
| 98 | if (runtime.endsWith('podman')) { |
| 99 | const registry = dockerHubRegistry(); |
| 100 | if (process.platform === 'win32') { |
| 101 | return `${runtime} login ${registry} -u <username> -p <access-token>`; |
| 102 | } |
| 103 | return `${runtime} login ${registry} -u <username> --password-stdin`; |
| 104 | } |
| 105 | return `${runtime} login -u <username>`; |
| 106 | } |
| 107 | |
| 108 | function isPodmanOnWindows() { |
| 109 | return process.platform === 'win32' && getRuntime().endsWith('podman'); |
nothing calls this directly
no test coverage detected