From d0742f13f09ef30ab656461dd65a47b20ad2f326 Mon Sep 17 00:00:00 2001 From: Gleb Chesnokov Date: Mon, 24 Aug 2026 11:47:51 +0300 Subject: [PATCH] .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. --- .github/workflows/rpm.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/rpm.yml diff --git a/.github/workflows/rpm.yml b/.github/workflows/rpm.yml new file mode 100644 index 000000000..0cd7d3389 --- /dev/null +++ b/.github/workflows/rpm.yml @@ -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