1
0
Fork 0
mirror of https://github.com/docker/build-push-action.git synced 2025-04-22 14:46:39 +02:00

Add allow input

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2020-08-16 07:07:06 +02:00
parent 78a1e0d9a3
commit 01bd5c1fa9
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
6 changed files with 17 additions and 0 deletions

4
dist/index.js generated vendored
View file

@ -1041,6 +1041,9 @@ function run() {
if (inputs.target) {
buildArgs.push('--target', inputs.target);
}
if (inputs.allow) {
buildArgs.push('--allow', inputs.allow);
}
if (inputs.noCache) {
buildArgs.push('--no-cache');
}
@ -1127,6 +1130,7 @@ function loadInputs() {
tags: yield getInputList('tags'),
pull: /true/i.test(core.getInput('pull')),
target: core.getInput('target'),
allow: core.getInput('allow'),
noCache: /true/i.test(core.getInput('no-cache')),
builder: core.getInput('builder'),
platforms: core.getInput('platforms'),