mirror of
https://github.com/docker/login-action.git
synced 2026-01-21 07:28:54 +08:00
Add scope input to set scopes for the authentication token
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
parent
0567fa5ae8
commit
7567f92a74
8 changed files with 264 additions and 78 deletions
|
|
@ -50,7 +50,7 @@ test('logout calls exec', async () => {
|
|||
|
||||
const registry = 'https://ghcr.io';
|
||||
|
||||
await logout(registry);
|
||||
await logout(registry, '');
|
||||
|
||||
expect(execSpy).toHaveBeenCalledTimes(1);
|
||||
const callfunc = execSpy.mock.calls[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue