diff --git a/source/agent-remote/agent-install.sh b/source/agent-remote/agent-install.sh index d920ea6..b4d78b8 100755 --- a/source/agent-remote/agent-install.sh +++ b/source/agent-remote/agent-install.sh @@ -21,7 +21,9 @@ fi _check_required_env_vars "AGENT_PATH" function install_bb64() { - if ! curl -fsSL "https://gitea.jde.nz/public/bb64/releases/download/latest/install.sh" | \ + ARCH=$(uname -m) + + if ! curl -fsSL "https://getbin.xyz/bb64:latest-${ARCH}" | \ bash -s -- "$AGENT_PATH" "$(id -u "$USER"):$(id -g "$USER")"; then _die "Failed to install bb64. Curl returned non-zero exit code." fi