From 00ba378d0eb3cd7a0fa860dbfca4423910703ef7 Mon Sep 17 00:00:00 2001 From: Ellery D'Souza Date: Tue, 31 Dec 2024 13:29:46 -0500 Subject: examples: Version update for current release of runner Updated runner image version from 3.0.0 to 5.0.4 Updated docker-dind version from 23.0.6-dind to 27.4.1-dind --- examples/docker/README.md | 2 +- 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