1
0
mirror of synced 2026-01-04 09:06:46 -05:00

Fixing explanation related to the --disableupdate (#16802)

This commit is contained in:
Nikola Jokic
2022-04-06 20:08:32 +02:00
committed by GitHub
parent f2785ca6df
commit d2ae09859e

View File

@@ -58,10 +58,10 @@ The {% data variables.product.prodname_actions %} service will then automaticall
By default, self-hosted runners will automatically perform a software update whenever a new version of the runner software is available. If you use ephemeral runners in containers then this can lead to repeated software updates when a new runner version is released. Turning off automatic updates allows you to update the runner version on the container image directly on your own schedule.
If you want to turn off automatic software updates and install software updates yourself, you can specify the `--disableupdate` parameter when starting the runner. For example:
To turn off automatic software updates and install software updates yourself, specify the `--disableupdate` flag when registering your runner using `config.sh`. For example:
```shell
./run.sh --disableupdate
./config.sh --url <em>https://github.com/octo-org</em> --token <em>example-token</em> --disableupdate
```
If you disable automatic updates, you must still update your runner version regularly. New functionality in {% data variables.product.prodname_actions %} requires changes in both the {% data variables.product.prodname_actions %} service _and_ the runner software. The runner may not be able to correctly process jobs that take advantage of new features in {% data variables.product.prodname_actions %} without a software update.