Attempt to use podman to build
Some checks failed
Build hyprwayland-scanner / Build and push image (push) Failing after 25s
Some checks failed
Build hyprwayland-scanner / Build and push image (push) Failing after 25s
This commit is contained in:
@@ -18,12 +18,17 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y skopeo iptables
|
sudo apt-get install -y podman skopeo iptables
|
||||||
|
mkdir -p ${GITEA_WORKSPACE}/rpmbuild/{RPMS,SPECS}
|
||||||
|
cp ./hyprwayland-scanner/hyprwayland-scanner.spec ${GITEA_WORKSPACE}/rpmbuild/SPECS
|
||||||
|
|
||||||
- name: Build RPM
|
- name: Build RPM
|
||||||
uses: https://git.hydrosaber.com/hydros/build-rpm@main
|
shell: bash
|
||||||
with:
|
run: |
|
||||||
spec-file-path: ./hyprwayland-scanner/hyprwayland-scanner.spec
|
podman run --rm \
|
||||||
|
--mount type=bind,src=${GITEA_WORKSPACE}/rpmbuild,dst=/root/rpmbuild \
|
||||||
|
--mount type=bind,src=entrypoint.sh,dst=/entrypoint.sh \
|
||||||
|
/entrypoint.sh /root/rpmbuild/SPECS/hyprwayland-scanner.spec
|
||||||
|
|
||||||
- name: List everything
|
- name: List everything
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
7
entrypoint.sh
Normal file
7
entrypoint.sh
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh -l
|
||||||
|
|
||||||
|
dnf -y install rpmdevtools
|
||||||
|
rpmdev-setuptree
|
||||||
|
|
||||||
|
toolbox run rpmdev-spectool -g -C ~/rpmbuild/SOURCES $1
|
||||||
|
rpmbuild --nodebuginfo --bb $1
|
||||||
Reference in New Issue
Block a user