1
0
Fork 0
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:
Aayush Shah 2024-09-20 20:21:04 -04:00 committed by GitHub
parent 84699d113f
commit 294f759b05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 16 additions and 5 deletions

View file

@ -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')
};
}