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