1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-15 18:57:01 +00:00

examples/docker-compose: network: host is required

otherwise a network will be created with no route to the forgejo
instance and a checkout will fail to reach it
This commit is contained in:
Earl Warren 2023-10-06 16:18:09 +02:00
parent e8448e3807
commit bf11dac848
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 2 additions and 1 deletions

View file

@ -19,7 +19,7 @@ services:
cd /srv/demo ;
git init --initial-branch=main ;
mkdir -p .forgejo/workflows ;
echo "{ on: [push], jobs: { test: { runs-on: docker, steps: [ { run: echo All Good } ] } } }" > .forgejo/workflows/demo.yml ;
echo "{ on: [push], jobs: { test: { runs-on: docker, steps: [ {uses: actions/checkout@v4}, { run: echo All Good } ] } } }" > .forgejo/workflows/demo.yml ;
git add . ;
git config user.email root@example.com ;
git config user.name username ;