# buildah [](https://github.com/redhat-actions/buildah-action/tags) [](./LICENSE) [](./dist) Buildah is a GitHub Action for building OCI-compatible (Docker- and Kubernetes-compatible) images quickly and easily. Buildah action works only on Linux distributions, and it is not supported on Windows or Mac platforms at this time. Note that GitHub's [Ubuntu Environments](https://github.com/actions/virtual-environments#available-environments) (ubuntu-20.04 and ubuntu-18.04) come with buildah 1.17.0 installed. If you are not using these environments, you must first [install buildah](https://github.com/containers/buildah/blob/master/install.md). ## Action Inputs
Input | Required | Description |
---|---|---|
image | Yes | Name to give the output image. |
tag | No |
Tag to give to the output image. Default: latest
|
base-image | No | The base image to use to create the initial container. If not specified, the action will try to pick one automatically. (N.B: At this time the action is only able to auto select Java base image) |
dockerfiles | No | The list of Dockerfile paths to perform a build using docker instructions. This is a multiline input if you wish to add multiple Dockerfiles. |
context | No | Path to directory to use as the build context. Default: . |
content | No | The content to copy inside the container to create the final image. This is a multiline input to allow you to copy more than one file/directory.content: | target/spring-petclinic-2.3.0.BUILD-SNAPSHOT.jar |
entrypoint | No | The entry point to set for the container. Can split arguments across multiple lines if desired.
entrypoint: java -jar spring-petclinic-2.3.0.BUILD-SNAPSHOT.jar |
port | No | The port to expose when running the container. |
workdir | No | The working directory to use within the container. |
envs | No | The environment variables to be set when running the container. This is a multiline input to add multiple environment variables.envs: | GOPATH=/root/buildah/go |