mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-24 01:20:56 -05:00
Merge pull request 'upgrade runner to 1.6.0' (#11) from earl-warren/setup-forgejo:wip-1.6.0 into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/11 Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
This commit is contained in:
commit
563dcf409d
3 changed files with 3 additions and 3 deletions
|
@ -40,7 +40,7 @@ It can only be run on the `self-hosted` platform, running on a host with LXC ins
|
||||||
| user | Administrator user name | `false` | root |
|
| user | Administrator user name | `false` | root |
|
||||||
| password | Administrator password | `false` | admin1234 |
|
| password | Administrator password | `false` | admin1234 |
|
||||||
| runner | Runner git repository | `false` | https://code.forgejo.org/forgejo/runner |
|
| runner | Runner git repository | `false` | https://code.forgejo.org/forgejo/runner |
|
||||||
| runner-version | Runner version | `false` | v1.5.0 |
|
| runner-version | Runner version | `false` | v1.6.0 |
|
||||||
| container | Name of the container running the Forgejo instance | `false` | forgejo |
|
| container | Name of the container running the Forgejo instance | `false` | forgejo |
|
||||||
| lxc-ip-prefix | Class C IP prefix used by LXC | `false` | 10.0.23 |
|
| lxc-ip-prefix | Class C IP prefix used by LXC | `false` | 10.0.23 |
|
||||||
<!-- action-docs-inputs -->
|
<!-- action-docs-inputs -->
|
||||||
|
|
|
@ -49,7 +49,7 @@ inputs:
|
||||||
default: 'https://code.forgejo.org/forgejo/runner'
|
default: 'https://code.forgejo.org/forgejo/runner'
|
||||||
runner-version:
|
runner-version:
|
||||||
description: 'Runner version'
|
description: 'Runner version'
|
||||||
default: 'v1.5.0'
|
default: 'v1.6.0'
|
||||||
container:
|
container:
|
||||||
description: 'Name of the container running the Forgejo instance'
|
description: 'Name of the container running the Forgejo instance'
|
||||||
default: 'forgejo'
|
default: 'forgejo'
|
||||||
|
|
|
@ -34,7 +34,7 @@ function run() {
|
||||||
|
|
||||||
function setup() {
|
function setup() {
|
||||||
local runner_repository="${1:-https://code.forgejo.org/forgejo/runner}"
|
local runner_repository="${1:-https://code.forgejo.org/forgejo/runner}"
|
||||||
local version="${2:-v1.5.0}"
|
local version="${2:-v1.6.0}"
|
||||||
local forgejo="${3:-http://$(cat forgejo-ip):3000/}"
|
local forgejo="${3:-http://$(cat forgejo-ip):3000/}"
|
||||||
|
|
||||||
dependencies
|
dependencies
|
||||||
|
|
Loading…
Reference in a new issue