mirror of
https://github.com/docker/build-push-action.git
synced 2025-04-19 09:56:46 +00:00
Add network input
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
8891861577
commit
5a4a26c0fc
6 changed files with 39 additions and 0 deletions
4
dist/index.js
generated
vendored
4
dist/index.js
generated
vendored
|
@ -13042,6 +13042,7 @@ function getInputs(defaultContext) {
|
|||
file: core.getInput('file'),
|
||||
labels: yield getInputList('labels', true),
|
||||
load: /true/i.test(core.getInput('load')),
|
||||
network: core.getInput('network'),
|
||||
noCache: /true/i.test(core.getInput('no-cache')),
|
||||
outputs: yield getInputList('outputs', true),
|
||||
platforms: yield getInputList('platforms'),
|
||||
|
@ -13144,6 +13145,9 @@ function getCommonArgs(inputs) {
|
|||
if (inputs.load) {
|
||||
args.push('--load');
|
||||
}
|
||||
if (inputs.network) {
|
||||
args.push('--network', inputs.network);
|
||||
}
|
||||
if (inputs.push) {
|
||||
args.push('--push');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue