- update docker images to use git.unkin.net - update path to save rpms to git.unkin.net
56 lines
1.1 KiB
YAML
56 lines
1.1 KiB
YAML
name: Build
|
|
|
|
on:
|
|
pull_request:
|
|
workflow_call:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build-8:
|
|
runs-on: almalinux-8
|
|
container:
|
|
image: git.unkin.net/unkin/almalinux8-actionsdind:latest
|
|
options: --privileged
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Build Packages
|
|
run: |
|
|
make all
|
|
|
|
- name: Show RPMs
|
|
run: |
|
|
find /workspace -type f -name "*.rpm"
|
|
|
|
- name: Upload Artifacts
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: rpms-8
|
|
path: /workspace/unkin/rpmbuilder/dist/*/*.rpm
|
|
|
|
build-9:
|
|
runs-on: almalinux-8
|
|
container:
|
|
image: git.unkin.net/unkin/almalinux9-actionsdind:latest
|
|
options: --privileged
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Build Packages
|
|
run: |
|
|
make all
|
|
|
|
- name: Show RPMs
|
|
run: |
|
|
find /workspace -type f -name "*.rpm"
|
|
|
|
- name: Upload Artifacts
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: rpms-9
|
|
path: /workspace/unkin/rpmbuilder/dist/*/*.rpm
|