mirror of
https://github.com/docker/build-push-action.git
synced 2025-05-08 22:49:29 +02:00
add a fallback
input (#7)
This commit is contained in:
parent
84699d113f
commit
294f759b05
5 changed files with 16 additions and 5 deletions
|
@ -40,6 +40,7 @@ export interface Inputs {
|
|||
target: string;
|
||||
ulimit: string[];
|
||||
'github-token': string;
|
||||
nofallback: boolean;
|
||||
}
|
||||
|
||||
export async function getInputs(): Promise<Inputs> {
|
||||
|
@ -75,7 +76,8 @@ export async function getInputs(): Promise<Inputs> {
|
|||
tags: Util.getInputList('tags'),
|
||||
target: core.getInput('target'),
|
||||
ulimit: Util.getInputList('ulimit', {ignoreComma: true}),
|
||||
'github-token': core.getInput('github-token')
|
||||
'github-token': core.getInput('github-token'),
|
||||
nofallback: core.getBooleanInput('nofallback')
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue