.github/workflows: Build Rocky Linux RPM packages

Run the repository Docker RPM target for pushes, pull requests and
manual workflow dispatches. Upload the binary RPMs, source RPMs and
checksum file as a commit-specific GitHub Actions artifact.
This commit is contained in:
Gleb Chesnokov
2026-08-24 12:08:32 +03:00
parent bcef8cd845
commit d0742f13f0
+29
View File
@@ -0,0 +1,29 @@
name: RPM packages
on: [push, pull_request, workflow_dispatch]
permissions:
contents: read
jobs:
build_rpm:
name: Rocky Linux 10.2 x86_64
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@main
with:
fetch-depth: 0
- name: Build RPM packages
run: make docker-rpm
- name: Upload RPM packages
uses: actions/upload-artifact@main
with:
name: scst-rpm-rocky-10.2-x86_64-${{ github.sha }}
path: |
docker-rpmbuilddir/RPMS/**/*.rpm
docker-rpmbuilddir/SRPMS/*.rpm
docker-rpmbuilddir/SHA256SUMS
if-no-files-found: error