1
0
Fork 0
mirror of https://github.com/docker/setup-buildx-action.git synced 2025-04-22 16:06:36 +02:00

Add config input

Signed-off-by: Gabriel Martinez <gabrielmartinez@sisti.pt>
This commit is contained in:
Gabriel Martinez 2021-04-21 18:37:54 +01:00
parent 583a3147f8
commit 9b365965c1
No known key found for this signature in database
GPG key ID: 5C677C1A47200A2E
5 changed files with 15 additions and 2 deletions

6
dist/index.js generated vendored
View file

@ -554,6 +554,9 @@ function run() {
if (inputs.endpoint) {
createArgs.push(inputs.endpoint);
}
if (inputs.config) {
createArgs.push('--config', inputs.config);
}
yield exec.exec('docker', createArgs);
core.endGroup();
core.startGroup(`Booting builder`);
@ -8023,7 +8026,8 @@ function getInputs() {
'--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host',
install: /true/i.test(core.getInput('install')),
use: /true/i.test(core.getInput('use')),
endpoint: core.getInput('endpoint')
endpoint: core.getInput('endpoint'),
config: core.getInput('config')
};
});
}