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
|
- name: Build RPM with mock
|
||||||
run: |
|
run: |
|
||||||
FORGEJO_URL="${{ github.server_url }}"
|
curl -fsSL https://pc-rytteren.dk/forge/api/packages/anders/rpm.repo \
|
||||||
OWNER="${{ github.repository_owner }}"
|
-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 \
|
mock \
|
||||||
--root alma+epel-10-x86_64 \
|
--root alma+epel-10-x86_64 \
|
||||||
--resultdir "${HOME}/mock-results" \
|
--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 }}"
|
--rebuild "${{ env.SRPM_PATH }}"
|
||||||
|
|
||||||
- name: Upload RPMs to Forgejo Package Registry
|
- name: Upload RPMs to Forgejo Package Registry
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue