| image | The name (reference) of the image to build | no | — |
| tags | The tags of the image to build. For multiple tags, seperate by whitespace. For example, "latest v1". | no | latest |
| labels | The labels of the image to build. Seperate by newline. For example, "io.containers.capabilities=sys_admin,mknod". | no | — |
| base-image | The base image to use to create a new container image | no | — |
| containerfiles | List of Containerfile paths (eg: ./Containerfile) | no | — |
| dockerfiles | Alias for "containerfiles". "containerfiles" takes precedence if both are set. | no | — |
| context | Path of the directory to use as context (default: .) | no | . |
| content | List of files/directories to copy inside the base image | no | — |
| entrypoint | The entry point to set for containers based on image | no | — |
| layers | Set to true to cache intermediate layers during build process | no | — |
| port | The port to expose when running containers based on image | no | — |
| workdir | The working directory to use within the container | no | — |
| envs | List of environment variables to be set when running containers based on image | no | — |
| build-args | List of --build-args to pass to buildah | no | — |
| oci | Set to true to build using the OCI image format instead of the Docker image format | no | false |
| arch | Label the image with this ARCH, instead of defaulting to the host architecture | no | — |
| archs | 'Same as input 'arch', use this for multiple architectures.
Seperate them by a comma'
| no | — |
| platform | Label the image with this PLATFORM, instead of defaulting to the host platform.
Only supported for containerfile builds.
| no | — |
| platforms | 'Same as input 'platform', use this for multiple platforms.
Seperate them by a comma'
| no | — |
| extra-args | Extra args to be passed to buildah bud and buildah from.
Separate arguments by newline. Do not use quotes - @actions/exec will do the quoting for you.
| no | — |
| tls-verify | Require HTTPS and verify certificates when accessing the registry. Defaults to true.
| no | true |