All checks were successful
Deploy ACT Runner Installer / deploy (push) Successful in 5s
59 lines
1.2 KiB
Markdown
59 lines
1.2 KiB
Markdown
## Act Runner Installer
|
|
|
|
Simple installer to fetch and install the latest `gitea/act_runner` release for your Linux machine.
|
|
|
|
### Quick start
|
|
|
|
Run the installer directly:
|
|
|
|
```bash
|
|
curl -fSSL https://get-act.tk2s.org | bash
|
|
```
|
|
|
|
If your environment requires elevated permissions to write to `/usr/local/bin`, run with sudo:
|
|
|
|
```bash
|
|
curl -fSSL https://get-act.tk2s.org | sudo bash
|
|
```
|
|
|
|
### What it does
|
|
|
|
- Detects your CPU architecture
|
|
- Fetches the latest `act_runner` release info
|
|
- Downloads the appropriate Linux binary
|
|
- Installs it to `/usr/local/bin/act_runner` and makes it executable
|
|
|
|
### Requirements
|
|
|
|
- Linux
|
|
- `curl`, `jq`, `wget`, `unxz`, `sha256sum`
|
|
|
|
### Notes
|
|
|
|
- The script will update an existing installation if a newer version is available.
|
|
- You may need network access to `gitea.com` to retrieve release metadata.
|
|
|
|
### Register the runner
|
|
|
|
Replace placeholders and run:
|
|
|
|
```bash
|
|
act_runner register \
|
|
--config /etc/act_runner/config.yaml \
|
|
--instance https://your-gitea.example.com \
|
|
--token <REGISTRATION_TOKEN> \
|
|
--no-interactive
|
|
```
|
|
|
|
Then start (or restart) the service:
|
|
|
|
```bash
|
|
systemctl restart act-runner
|
|
```
|
|
|
|
### Uninstall
|
|
|
|
```bash
|
|
sudo rm -f /usr/local/bin/act_runner
|
|
```
|