buildah-build/action.yml

39 lines
1.2 KiB
YAML
Raw Normal View History

name: 'Buildah Action'
description: 'This action allows you to build an image from your app'
author: 'Red Hat'
branding:
icon: circle
color: red
inputs:
image:
description: 'The name (reference) of the image to build'
required: true
base-image:
description: 'The base image to use to create a new container'
required: false
dockerfiles:
description: 'The path of one or more Dockerfiles (default: ./Dockerfile)'
required: false
default: './Dockerfile'
context:
description: 'Path to the directory to use as context (default: .)'
required: false
default: '.'
content:
description: 'The content to copy inside the base image'
required: false
entrypoint:
description: 'The entry point to set for containers based on image'
required: false
port:
description: 'The port to expose when running containers based on image'
required: false
working-dir:
description: 'The working directory to use within the container'
required: false
envs:
description: 'The environment variables to be set when running containers based on image'
required: false
runs:
using: 'node12'
main: 'dist/index.js'