add support for building images with docker files (#4) (#5)

* add support for building images with docker files (#4)

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* fix issues when building image with dockerfile

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* update readme

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* Update README.md

Co-authored-by: Divyanshu Agrawal <diagrawa@redhat.com>

Co-authored-by: Divyanshu Agrawal <diagrawa@redhat.com>
This commit is contained in:
Luca Stocchi 2020-11-19 09:19:57 +01:00 committed by GitHub
parent 329be0a470
commit deaddbe502
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 137 additions and 43 deletions

View file

@ -5,26 +5,33 @@ branding:
icon: circle
color: red
inputs:
new-image-name:
description: 'Name of the new image that will be created'
image:
description: 'The name (reference) of the image to build'
required: true
base-image:
description: 'Base image to use'
description: 'The base image to use to create a new container image'
required: false
dockerfiles:
description: 'List of Dockerfile paths (eg: ./Dockerfile)'
required: false
context:
description: 'Path of the directory to use as context (default: .)'
required: false
default: '.'
content:
description: 'The content to copy inside the base image'
required: true
description: 'List of files/directories to copy inside the base image'
required: false
entrypoint:
description: 'Entrypoint'
required: true
description: 'The entry point to set for containers based on image'
required: false
port:
description: 'Port'
required: true
description: 'The port to expose when running containers based on image'
required: false
working-dir:
description: 'Working directory'
description: 'The working directory to use within the container'
required: false
envs:
description: 'envs'
description: 'List of environment variables to be set when running containers based on image'
required: false
runs:
using: 'node12'