diff options
author | earl-warren <earl-warren@noreply.code.forgejo.org> | 2024-12-31 20:49:49 +0100 |
---|---|---|
committer | earl-warren <earl-warren@noreply.code.forgejo.org> | 2024-12-31 20:49:49 +0100 |
commit | bf1dcaff8effd9ec391006b90a85423c56791a5f (patch) | |
tree | ba9e58cab91502d5d29bbd4c6c9e16bc80550bad | |
parent | Merge pull request 'Update Tests to Latest Release' (#404) from Merith-TK/run... (diff) | |
parent | examples: Version update for current release of runner (diff) | |
download | forgejo-runner-bf1dcaff8effd9ec391006b90a85423c56791a5f.tar.xz forgejo-runner-bf1dcaff8effd9ec391006b90a85423c56791a5f.zip |
Merge pull request 'examples: Version update for current release of runner' (#407) from edsouza/runner:examples-version into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/407
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
-rw-r--r-- | examples/docker/README.md | 2 | ||||
-rw-r--r-- | examples/kubernetes/dind-docker.yaml | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/docker/README.md b/examples/docker/README.md index 628c99c..9131559 100644 --- a/examples/docker/README.md +++ b/examples/docker/README.md @@ -6,7 +6,7 @@ The following assumes: * a `runner-config.yml` file exists in /tmp/data ```sh -docker run -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/data:/data --user 1000:133 --rm code.forgejo.org/forgejo/runner:3.0.0 forgejo-runner --config runner-config.yaml daemon +docker run -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/data:/data --user 1000:133 --rm code.forgejo.org/forgejo/runner:5.0.4 forgejo-runner --config runner-config.yaml daemon ``` The workflows will run using the host docker srever diff --git a/examples/kubernetes/dind-docker.yaml b/examples/kubernetes/dind-docker.yaml index 534432d..7f51a0a 100644 --- a/examples/kubernetes/dind-docker.yaml +++ b/examples/kubernetes/dind-docker.yaml @@ -38,7 +38,7 @@ spec: # https://forgejo.org/docs/v1.21/admin/actions/#offline-registration initContainers: - name: runner-register - image: code.forgejo.org/forgejo/runner:3.2.0 + image: code.forgejo.org/forgejo/runner:5.0.4 command: ["forgejo-runner", "register", "--no-interactive", "--token", $(RUNNER_SECRET), "--name", $(RUNNER_NAME), "--instance", $(FORGEJO_INSTANCE_URL)] env: - name: RUNNER_NAME @@ -61,7 +61,7 @@ spec: mountPath: /data containers: - name: runner - image: code.forgejo.org/forgejo/runner:3.0.0 + image: code.forgejo.org/forgejo/runner:5.0.4 command: ["sh", "-c", "while ! nc -z localhost 2376 </dev/null; do echo 'waiting for docker daemon...'; sleep 5; done; forgejo-runner daemon"] env: - name: DOCKER_HOST @@ -76,7 +76,7 @@ spec: - name: runner-data mountPath: /data - name: daemon - image: docker:23.0.6-dind + image: docker:27.4.1-dind env: - name: DOCKER_TLS_CERTDIR value: /certs |