mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-06-28 02:04:58 +02:00
Update install/forgejo-runner-install.sh
Co-authored-by: Sam Heinz <sam@samheinz.com>
This commit is contained in:
committed by
GitHub
parent
edb7a156f5
commit
9dfad63c09
@@ -65,7 +65,7 @@ msg_ok "Enabled Podman socket"
|
||||
|
||||
msg_info "Installing Forgejo Runner"
|
||||
RUNNER_VERSION=$(curl -fsSL https://data.forgejo.org/api/v1/repos/forgejo/runner/releases/latest | jq -r .name | sed 's/^v//')
|
||||
curl -fsSL "https://code.forgejo.org/forgejo/runner/releases/download/v${RUNNER_VERSION}/forgejo-runner-${RUNNER_VERSION}-linux-amd64" -o /usr/local/bin/forgejo-runner
|
||||
curl -fsSL "https://code.forgejo.org/forgejo/runner/releases/download/v${RUNNER_VERSION}/forgejo-runner-${RUNNER_VERSION}-linux-$(arch_resolve)" -o /usr/local/bin/forgejo-runner
|
||||
chmod +x /usr/local/bin/forgejo-runner
|
||||
echo "${RUNNER_VERSION}" >~/.forgejo-runner
|
||||
msg_ok "Installed Forgejo Runner"
|
||||
|
||||
Reference in New Issue
Block a user