diff --git a/.drone.yml b/.drone.yml index 2d55a9d..e28d1fe 100644 --- a/.drone.yml +++ b/.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 diff --git a/run.sh b/run.sh index 55c748d..94d56f3 100755 --- a/run.sh +++ b/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 ${@}