mirror of
https://github.com/redhat-actions/podman-login.git
synced 2025-02-23 18:41:21 +01:00
17 lines
410 B
TypeScript
17 lines
410 B
TypeScript
![]() |
import * as core from "@actions/core";
|
||
|
import { Inputs } from "./generated/inputs-outputs";
|
||
|
|
||
|
export interface ActionInputs {
|
||
|
registry: string;
|
||
|
username: string;
|
||
|
password: string;
|
||
|
}
|
||
|
|
||
|
export function getInputs(): ActionInputs {
|
||
|
return {
|
||
|
registry: core.getInput(Inputs.REGISTRY),
|
||
|
username: core.getInput(Inputs.USERNAME),
|
||
|
password: core.getInput(Inputs.PASSWORD),
|
||
|
};
|
||
|
}
|