diff --git a/.forgejo/workflows/demo.yaml b/.forgejo/workflows/demo.yaml new file mode 100644 index 0000000..5728369 --- /dev/null +++ b/.forgejo/workflows/demo.yaml @@ -0,0 +1,11 @@ +on: [push] +jobs: + test: + runs-on: docker + steps: + - run: echo All Good + + test2: + runs-on: ubuntu-latest + steps: + - run: echo All Good \ No newline at end of file diff --git a/forgejo/runner/config.yaml b/forgejo/runner/config.yaml index c2aa3ab..3c6fe46 100644 --- a/forgejo/runner/config.yaml +++ b/forgejo/runner/config.yaml @@ -47,7 +47,7 @@ cache: host: "" # The port of the cache server. # 0 means to use a random available port. - port: 0 + port: 8080 # The external cache server URL. Valid only when enable is true. # If it's specified, act_runner will use this URL as the ACTIONS_CACHE_URL rather than start a server by itself. # The URL should generally end with "/". diff --git a/forgejo/runner/docker-compose.yaml b/forgejo/runner/docker-compose.yaml index 50f9ed0..9bc7482 100644 --- a/forgejo/runner/docker-compose.yaml +++ b/forgejo/runner/docker-compose.yaml @@ -23,5 +23,7 @@ services: volumes: - /home/forgejo-runner/data:/data restart: 'unless-stopped' + expose: + - "8080" command: '/bin/sh -c "sleep 5; forgejo-runner daemon --config config.yml"' \ No newline at end of file