force perms on /srv/runner-data

This commit is contained in:
merith-xyz 2024-09-28 09:28:52 -07:00
parent 890778d33a
commit 8e05b3013b

View file

@ -31,6 +31,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