Buildah component
The buildah component builds container images using the buildah tool. It is functionally equivalent to the container component, but it uses buildah instead of podman as the underlying builder. The component supports the same inputs and outputs as the container component, including build arguments, image labels, and authentication to registries. See the container component documentation for usage examples and details.
Inputs
| Name | Description | Default | Type |
| --- | --- | --- | --- |
| args | Arguments to pass to the builder. | string | |
| cache-enabled | Should registry-backed build cache be used? | false | boolean |
| containerfile-path | Alternate path to the Containerfile, if either Dockerfile or Containerfile in the conect directory. | string | |
| dependencies | The dependencies that this job depends on. | [] | array |
| name | Name for the pipeline jobs and the container. | container | string |
| needs | The jobs that this job depends on. | [] | array |
| path | Path to the directory containing Container sources / context. | . | string |
| registry | Registry to store container image releases in | $CI_REGISTRY | string |
| repository-path | Repository to store container image releases in | $CI_REGISTRY_PROJECT_PATH | string |
| rules | The jobs that this job depends on. | [{"if":"$CI_PIPELINE_SOURCE == \"schedule\"","when":"never"},{"if":"$CI_PIPELINE_SOURCE == \"merge_request_event\"","when":"on_success"},{"when":"on_success"}] | array |
| scanners | Scanners to use. none, vuln, license, secret, misconfig | ["vuln","secret","license","misconfig"] | array |
| scanning-allow-failure | Should the pipeline fail if scanning the built container image fails? | false | boolean |
| scanning-enabled | Should the built container image be scanned? | true | boolean |
| scanning-ignore-unfixed | Exclude vulnerabilities that do not have a fix available. | true | boolean |
| scanning-severity | What level of severity should cause scanning of the built container to fail? | CRITICAL | string |
| scanning-timeout | How long should the scanning process be allowed to run before timing out? Use format e.g. 5m0s | 30m0s | string |
| signing-enabled | Should the built container image be signed? | true | boolean |
| stage | The pipeline stage that the jobs belongs to. | build | string |
| tags | The runners that this job depends on. | [] | array |
| version | Internal version of the nested component to use. | main | string |