2020-11-23 18:27:19 +00:00
name : 'Buildah Build'
2021-09-14 19:03:38 +00:00
description : 'Build a container image, with or without a Containerfile'
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-19 08:19:57 +00:00
image :
description : 'The name (reference) of the image to build'
2021-10-12 17:21:52 +00:00
required : false
2021-02-01 17:54:50 +00:00
tags :
2021-10-12 17:21:52 +00:00
description : 'The tags of the image to build. For multiple tags, seperate by whitespace. For example, "latest v1".'
2020-11-19 09:00:49 +00:00
required : false
default : latest
2021-10-19 18:41:41 +00:00
labels :
description : 'The labels of the image to build. Seperate by newline. For example, "io.containers.capabilities=sys_admin,mknod".'
required : false
2024-04-08 12:29:14 +00:00
annotations :
description : 'The annotations of the image to build. Seperate by newline. For example, "org.opencontainers.image.version=1.5.6". Only supported by OCI images.'
required : false
2020-11-06 21:48:47 +00:00
base-image :
2020-11-19 08:19:57 +00:00
description : 'The base image to use to create a new container image'
2021-02-24 16:13:55 +00:00
required : false
2021-09-14 19:03:38 +00:00
containerfiles :
description: 'List of Containerfile paths (eg : ./Containerfile)'
required : false
2020-11-19 08:19:57 +00:00
dockerfiles :
2021-09-14 19:03:38 +00:00
description : 'Alias for "containerfiles". "containerfiles" takes precedence if both are set.'
2020-11-19 08:19:57 +00:00
required : false
context :
description: 'Path of the directory to use as context (default : .)'
required : false
default : '.'
2020-11-06 21:48:47 +00:00
content :
2020-11-19 08:19:57 +00:00
description : 'List of files/directories to copy inside the base image'
required : false
2020-11-06 21:48:47 +00:00
entrypoint :
2020-11-19 08:19:57 +00:00
description : 'The entry point to set for containers based on image'
required : false
2021-03-30 12:50:32 +00:00
layers :
description : 'Set to true to cache intermediate layers during build process'
required : false
2020-11-06 21:48:47 +00:00
port :
2020-11-19 08:19:57 +00:00
description : 'The port to expose when running containers based on image'
2020-11-19 18:46:44 +00:00
required : false
workdir :
2020-11-19 08:19:57 +00:00
description : 'The working directory to use within the container'
2020-11-13 11:38:29 +00:00
required : false
envs :
2020-11-19 08:19:57 +00:00
description : 'List of environment variables to be set when running containers based on image'
2020-11-13 11:38:29 +00:00
required : false
2020-11-23 19:03:32 +00:00
build-args :
2021-02-01 17:54:50 +00:00
description : 'List of --build-args to pass to buildah'
2020-11-23 19:03:32 +00:00
required : false
2020-11-26 18:00:17 +00:00
oci :
2021-02-01 17:54:50 +00:00
description : 'Set to true to build using the OCI image format instead of the Docker image format'
2020-11-26 18:00:17 +00:00
default : 'false'
required : false
2021-07-09 15:12:48 +00:00
arch :
2021-11-17 09:39:25 +00:00
description :
'Label the image with this ARCH, instead of defaulting to the host architecture'
2021-07-09 15:12:48 +00:00
required : false
2021-02-17 18:27:20 +00:00
archs :
2021-11-17 09:39:25 +00:00
description : |
'Same as input ' arch', use this for multiple architectures.
Seperate them by a comma'
2021-02-17 18:27:20 +00:00
required : false
2021-10-14 22:09:15 +00:00
platform :
2021-10-18 17:41:01 +00:00
description : |
Label the image with this PLATFORM, instead of defaulting to the host platform.
Only supported for containerfile builds.
2021-10-14 22:09:15 +00:00
required : false
2021-11-17 09:39:25 +00:00
platforms :
description : |
'Same as input ' platform', use this for multiple platforms.
Seperate them by a comma'
required : false
2021-04-12 17:13:19 +00:00
extra-args :
description : |
2022-06-02 07:52:38 +00:00
Extra args to be passed to buildah bud and buildah from.
2021-04-12 17:13:19 +00:00
Separate arguments by newline. Do not use quotes - @actions/exec will do the quoting for you.
required : false
2022-06-02 07:52:38 +00:00
tls-verify :
description : |
Require HTTPS and verify certificates when accessing the registry. Defaults to true.
required : false
default : 'true'
2021-02-01 17:54:50 +00:00
outputs :
image :
description : 'Name of the image built'
tags :
description : 'List of the tags that were created, separated by spaces'
2021-09-13 15:04:36 +00:00
image-with-tag :
description : 'Name of the image tagged with the first tag present'
2020-11-06 21:48:47 +00:00
runs :
2024-02-01 16:22:34 +00:00
using : 'node20'
2020-11-19 18:46:44 +00:00
main : 'dist/index.js'