force perms on /srv/runner-data

This commit is contained in:
merith-xyz 2024-09-28 09:28:52 -07:00 committed by Merith-TK
parent 38a43e67ed
commit c6401d5197

View file

@ -28,6 +28,8 @@ jobs:
- name: run the example - name: run the example
run: | run: |
set -x set -x
mkdir -p /srv/runner-data
chown 1000:1000 /srv/runner-data
cd examples/docker-compose cd examples/docker-compose
secret=$(openssl rand -hex 20) secret=$(openssl rand -hex 20)
sed -i -e "s/{SHARED_SECRET}/$secret/" compose-forgejo-and-runner.yml sed -i -e "s/{SHARED_SECRET}/$secret/" compose-forgejo-and-runner.yml