Use z for permissions and move entrypoint to root home. Also set
workspace to root home
This commit is contained in:
@@ -34,10 +34,11 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
podman run --rm \
|
podman run --rm \
|
||||||
-v ${GITEA_WORKSPACE}/rpmbuild:/root/rpmbuild:rw \
|
-v ./rpmbuild:/root/rpmbuild:rw,z \
|
||||||
-v ./entrypoint.sh:/entrypoint.sh \
|
-v ./entrypoint.sh:/root/entrypoint.sh:ro,z \
|
||||||
|
-w /root \
|
||||||
fedora:latest \
|
fedora:latest \
|
||||||
/entrypoint.sh /root/rpmbuild/SPECS/hyprwayland-scanner.spec
|
/root/entrypoint.sh /root/rpmbuild/SPECS/hyprwayland-scanner.spec
|
||||||
|
|
||||||
- name: List everything
|
- name: List everything
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user