2020-11-13 14:20:53 +00:00
|
|
|
name: 'Buildah Action'
|
2020-11-06 21:48:47 +00:00
|
|
|
description: 'This action allows you to build an image from your app'
|
2020-11-13 14:20:53 +00:00
|
|
|
author: 'Red Hat'
|
2020-11-06 21:48:47 +00:00
|
|
|
branding:
|
|
|
|
icon: circle
|
|
|
|
color: red
|
|
|
|
inputs:
|
2020-11-17 14:54:29 +00:00
|
|
|
image:
|
|
|
|
description: 'The name (reference) of the image to build'
|
2020-11-06 21:48:47 +00:00
|
|
|
required: true
|
|
|
|
base-image:
|
2020-11-17 14:54:29 +00:00
|
|
|
description: 'The base image to use to create a new container'
|
2020-11-06 21:48:47 +00:00
|
|
|
required: false
|
2020-11-17 14:54:29 +00:00
|
|
|
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: '.'
|
2020-11-06 21:48:47 +00:00
|
|
|
content:
|
|
|
|
description: 'The content to copy inside the base image'
|
2020-11-17 14:54:29 +00:00
|
|
|
required: false
|
2020-11-06 21:48:47 +00:00
|
|
|
entrypoint:
|
2020-11-17 14:54:29 +00:00
|
|
|
description: 'The entry point to set for containers based on image'
|
|
|
|
required: false
|
2020-11-06 21:48:47 +00:00
|
|
|
port:
|
2020-11-17 14:54:29 +00:00
|
|
|
description: 'The port to expose when running containers based on image'
|
|
|
|
required: false
|
2020-11-13 11:38:29 +00:00
|
|
|
working-dir:
|
2020-11-17 14:54:29 +00:00
|
|
|
description: 'The working directory to use within the container'
|
2020-11-13 11:38:29 +00:00
|
|
|
required: false
|
|
|
|
envs:
|
2020-11-17 14:54:29 +00:00
|
|
|
description: 'The environment variables to be set when running containers based on image'
|
2020-11-13 11:38:29 +00:00
|
|
|
required: false
|
2020-11-06 21:48:47 +00:00
|
|
|
runs:
|
|
|
|
using: 'node12'
|
|
|
|
main: 'dist/index.js'
|