diff --git a/start-action-runner.sh b/start-action-runner.sh index dec8d0f..de9f669 100755 --- a/start-action-runner.sh +++ b/start-action-runner.sh @@ -1,8 +1,10 @@ #!/usr/bin/bash -wget -O "$FORGEJO_RUNNER_ROOT"/forgejo-runner https://code.forgejo.org/forgejo/runner/releases/download/v3.3.0/forgejo-runner-3.3.0-linux-amd64 +RUNNER_VERSION=3.5.0 + +wget -O "$FORGEJO_RUNNER_ROOT"/forgejo-runner https://code.forgejo.org/forgejo/runner/releases/download/v$RUNNER_VERSION/forgejo-runner-$RUNNER_VERSION-linux-amd64 chmod +x "$FORGEJO_RUNNER_ROOT"/forgejo-runner -wget -O forgejo-runner.asc https://code.forgejo.org/forgejo/runner/releases/download/v3.3.0/forgejo-runner-3.3.0-linux-amd64.asc +wget -O forgejo-runner.asc https://code.forgejo.org/forgejo/runner/releases/download/v$RUNNER_VERSION/forgejo-runner-$RUNNER_VERSION-linux-amd64.asc gpg --keyserver keys.openpgp.org --recv EB114F5E6C0DC2BCDD183550A4B61A2DC5923710 gpg --verify forgejo-runner.asc "$FORGEJO_RUNNER_ROOT"/forgejo-runner rm forgejo-runner.asc