New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added 'quiet' docker arg support #486
Changes from all commits
bfba4d8
504c13c
dafed4e
3d75494
edfc342
3e5d825
3c51ad8
bf14809
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ export interface Inputs { | |
noCache: boolean; | ||
outputs: string[]; | ||
platforms: string[]; | ||
quiet: boolean; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Alphabetize here too. |
||
pull: boolean; | ||
push: boolean; | ||
secrets: string[]; | ||
|
@@ -74,6 +75,7 @@ export async function getInputs(defaultContext: string): Promise<Inputs> { | |
load: core.getBooleanInput('load'), | ||
network: core.getInput('network'), | ||
noCache: core.getBooleanInput('no-cache'), | ||
quiet: core.getBooleanInput('quiet'), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Alphabetize here too. |
||
outputs: await getInputList('outputs', true), | ||
platforms: await getInputList('platforms'), | ||
pull: core.getBooleanInput('pull'), | ||
|
@@ -153,6 +155,9 @@ async function getBuildArgs(inputs: Inputs, defaultContext: string, buildxVersio | |
if (inputs.file) { | ||
args.push('--file', inputs.file); | ||
} | ||
if (inputs.quiet) { | ||
args.push('--quiet'); | ||
} | ||
return args; | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the previous options were in alphabetical order.