mirror of
https://github.com/redhat-actions/podman-login.git
synced 2025-06-08 02:29:03 +00:00
First commit 🚀
Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
commit
565d575198
20 changed files with 6476 additions and 0 deletions
16
src/context.ts
Normal file
16
src/context.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
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),
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue