local runner doc (#1911)
* local runner doc * correct would would --------- Co-authored-by: tzehaoo <tzehao@intnt.ai> Co-authored-by: Casey Lee <cplee@nektos.com>
This commit is contained in:
parent
83b0a5b1f2
commit
67f4baa618
1 changed files with 9 additions and 0 deletions
|
@ -272,6 +272,15 @@ If you need an environment that works just like the corresponding GitHub runner
|
||||||
|
|
||||||
- [`catthehacker/ubuntu:full-*`](https://github.com/catthehacker/docker_images/pkgs/container/ubuntu) - built from Packer template provided by GitHub, see [catthehacker/virtual-environments-fork](https://github.com/catthehacker/virtual-environments-fork) or [catthehacker/docker_images](https://github.com/catthehacker/docker_images) for more information
|
- [`catthehacker/ubuntu:full-*`](https://github.com/catthehacker/docker_images/pkgs/container/ubuntu) - built from Packer template provided by GitHub, see [catthehacker/virtual-environments-fork](https://github.com/catthehacker/virtual-environments-fork) or [catthehacker/docker_images](https://github.com/catthehacker/docker_images) for more information
|
||||||
|
|
||||||
|
## Using local runner images
|
||||||
|
|
||||||
|
The `--pull` flag is set to true by default due to a breaking on older default docker images. This would pull the docker image everytime act is executed.
|
||||||
|
|
||||||
|
Set `--pull` to false if a local docker image is needed
|
||||||
|
```sh
|
||||||
|
act --pull=false
|
||||||
|
```
|
||||||
|
|
||||||
## Use an alternative runner image
|
## Use an alternative runner image
|
||||||
|
|
||||||
To use a different image for the runner, use the `-P` option.
|
To use a different image for the runner, use the `-P` option.
|
||||||
|
|
Loading…
Reference in a new issue