Add feature to pass extra args when building image

If a user wants to pass few extra args to build
command when building image, then he can pass
using 'extra-args' input parameter.

Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
divyansh42 2021-01-28 19:06:12 +05:30
parent 75dab40354
commit 2b7e117c22
7 changed files with 24 additions and 9 deletions

View file

@ -44,6 +44,9 @@ inputs:
description: 'Set to true to build using the OCI image format instead of the Docker image format.'
default: 'false'
required: false
extra-args:
description: 'Extra args to be passed to build command when building image'
required: false
runs:
using: 'node12'
main: 'dist/index.js'