Browse Source

Fix permissions

master
blallo 10 months ago
parent
commit
91c0c0fdd4
Signed by: blallo GPG Key ID: 0CBE577C9B72DC3F
  1. 6
      .drone.yml
  2. 4
      run.sh

6
.drone.yml

@ -36,7 +36,7 @@ steps:
cp -r /usr/. /cache_stage/usr/
getfacl -p -R /usr > /cache_stage/usr/permissions.acl
fi
- chown build:33 -R /output
- chmod a+rw /output
volumes:
- name: etc_electron-ozone
path: /cache_stage/etc
@ -58,6 +58,7 @@ steps:
- setfacl --restore=/opt/permissions.acl
- setfacl --restore=/var/permissions.acl
- setfacl --restore=/usr/permissions.acl
- chown build:33 -R /build
volumes:
- name: build_electron-ozone
path: /build
@ -209,7 +210,7 @@ steps:
cp -r /usr/. /cache_stage/usr/
getfacl -p -R /usr > /cache_stage/usr/permissions.acl
fi
- chown -R build:33 /output
- chmod a+rw /output
volumes:
- name: etc_discord_arch_electron
path: /cache_stage/etc
@ -231,6 +232,7 @@ steps:
- setfacl --restore=/opt/permissions.acl
- setfacl --restore=/var/permissions.acl
- setfacl --restore=/usr/permissions.acl
- chown -R build:33 /output
volumes:
- name: build_discord_arch_electron
path: /build

4
run.sh

@ -2,5 +2,5 @@
docker run \
--rm \
-v $PWD/build/doer:/doer \
-ti leophys/pikaur ${@}
-v $PWD/build:/build \
-ti leophys/pikaur:0.3 ${@}

Loading…
Cancel
Save