mirror of
https://github.com/docker/build-push-action.git
synced 2025-04-19 09:56:46 +00:00
use default docker command line values for file when it is missing
Signed-off-by: Libo Zeng <libo@mabl.com>
This commit is contained in:
parent
f2a733f179
commit
a8587cb818
5 changed files with 3 additions and 12 deletions
|
@ -57,7 +57,7 @@ export function tmpNameSync(options?: tmp.TmpNameOptions): string {
|
|||
export async function getInputs(defaultContext: string): Promise<Inputs> {
|
||||
return {
|
||||
context: core.getInput('context') || defaultContext,
|
||||
file: core.getInput('file') || 'Dockerfile',
|
||||
file: core.getInput('file'),
|
||||
buildArgs: await getInputList('build-args', true),
|
||||
labels: await getInputList('labels', true),
|
||||
tags: await getInputList('tags'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue