add own repo
This commit is contained in:
parent
17dcd83976
commit
abae2a5400
1 changed files with 9 additions and 3 deletions
|
|
@ -50,12 +50,18 @@ jobs:
|
|||
|
||||
- name: Build RPM with mock
|
||||
run: |
|
||||
FORGEJO_URL="${{ github.server_url }}"
|
||||
OWNER="${{ github.repository_owner }}"
|
||||
curl -fsSL https://pc-rytteren.dk/forge/api/packages/anders/rpm.repo \
|
||||
-o /tmp/sonicde.repo
|
||||
mock \
|
||||
--root alma+epel-10-x86_64 \
|
||||
--init
|
||||
mock \
|
||||
--root alma+epel-10-x86_64 \
|
||||
--copyin /tmp/sonicde.repo /etc/yum.repos.d/sonicde.repo
|
||||
mock \
|
||||
--root alma+epel-10-x86_64 \
|
||||
--resultdir "${HOME}/mock-results" \
|
||||
--config-opts="config_opts['dnf.conf'] += '[sonicde-rpm]\nname=SonicDE RPM\nbaseurl=${FORGEJO_URL}/api/packages/${OWNER}/rpm/el10\nenabled=1\ngpgcheck=0\npriority=90\n'" \
|
||||
--no-clean \
|
||||
--rebuild "${{ env.SRPM_PATH }}"
|
||||
|
||||
- name: Upload RPMs to Forgejo Package Registry
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue