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
|
||||
run: |
|
||||
podman run --rm \
|
||||
-v ${GITEA_WORKSPACE}/rpmbuild:/root/rpmbuild:rw \
|
||||
-v ./entrypoint.sh:/entrypoint.sh \
|
||||
-v ./rpmbuild:/root/rpmbuild:rw,z \
|
||||
-v ./entrypoint.sh:/root/entrypoint.sh:ro,z \
|
||||
-w /root \
|
||||
fedora:latest \
|
||||
/entrypoint.sh /root/rpmbuild/SPECS/hyprwayland-scanner.spec
|
||||
/root/entrypoint.sh /root/rpmbuild/SPECS/hyprwayland-scanner.spec
|
||||
|
||||
- name: List everything
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user