cnangel/Build RPM packages
Build RPM packages with rpmbuild in a flexible environment.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| spec_file | Path to the spec file | yes | *.spec |
| additional_repos | A list of additional repositories to enable | no | — |
| is_output_srpm | Whether output srpm package | no | true |
| dnf_opts | Options to be passed to dnf or yum | no | — |
| artifacts_dir | Directory path relative to $GITHUB_WORKSPACE to place the built packages in | yes | rpmbuild |
| before_build_hook | Shell command(s) to execute after installing build dependencies and before executing rpmbuild | no | — |
| rpmbuild_opts | Options to be passed to rpmbuild | no | -bb |
| docker_image | Name of a Docker image to build inside or path of a Dockerfile | yes | cnangel/fc38 |
| extra_build_deps | Extra packages to be installed as build dependencies | no | — |
| extra_docker_args | Additional arguments to 'docker run' when starting the build container | no | — |
| host_arch | Foreign architecture to setup cross-compilation for | no | — |
| source_dir | Path relative to $GITHUB_WORKSPACE that contains the package sources | yes | ./ |
Outputs
| name | description |
|---|---|
| rpm_dir_names | Path to RPM files |
| rpm_dir_path | Path to RPM directory |
| srpm_dir_names | Path to Source RPM files |
| srpm_dir_path | Path to Source directory |