diff options
author | Ellery D'Souza <edsouza99@gmail.com> | 2024-12-31 19:29:46 +0100 |
---|---|---|
committer | Ellery D'Souza <edsouza99@gmail.com> | 2024-12-31 19:29:54 +0100 |
commit | 00ba378d0eb3cd7a0fa860dbfca4423910703ef7 (patch) | |
tree | ba9e58cab91502d5d29bbd4c6c9e16bc80550bad | |
parent | Merge pull request 'Update Tests to Latest Release' (#404) from Merith-TK/run... (diff) | |
download | forgejo-runner-00ba378d0eb3cd7a0fa860dbfca4423910703ef7.tar.xz forgejo-runner-00ba378d0eb3cd7a0fa860dbfca4423910703ef7.zip |
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
-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 |