mirror of
https://github.com/docker/login-action.git
synced 2026-03-19 20:20:27 +08:00
switch to ESM and update config/test wiring
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
parent
6585fe535d
commit
fdfb31da7c
12 changed files with 82 additions and 273 deletions
|
|
@ -1,9 +1,9 @@
|
|||
import * as core from '@actions/core';
|
||||
|
||||
import * as aws from './aws';
|
||||
import * as context from './context';
|
||||
import {Docker} from '@docker/actions-toolkit/lib/docker/docker.js';
|
||||
|
||||
import {Docker} from '@docker/actions-toolkit/lib/docker/docker';
|
||||
import * as aws from './aws.js';
|
||||
import * as context from './context.js';
|
||||
|
||||
export async function login(auth: context.Auth): Promise<void> {
|
||||
if (/true/i.test(auth.ecr) || (auth.ecr == 'auto' && aws.isECR(auth.registry))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue