summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJason Song <i@wolfogre.com>2023-08-02 05:52:14 +0200
committerJason Song <i@wolfogre.com>2023-08-02 05:52:14 +0200
commit22d91e3ac3740bb00e8ec044026f028f811cfb61 (patch)
treeb70544ac0c3ed631bed69ac8b85030d841408a62 /README.md
parentSupport expression in `uses` (#75) (diff)
parentchore: bump VERSION to 0.2.49 (diff)
downloadforgejo-act-22d91e3ac3740bb00e8ec044026f028f811cfb61.tar.xz
forgejo-act-22d91e3ac3740bb00e8ec044026f028f811cfb61.zip
Merge tag 'nektos/v0.2.49'
Conflicts: cmd/input.go go.mod go.sum pkg/exprparser/interpreter.go pkg/model/workflow.go pkg/runner/expression.go pkg/runner/job_executor.go pkg/runner/runner.go
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 11 insertions, 2 deletions
diff --git a/README.md b/README.md
index 4cc8ce9..c93d7ad 100644
--- a/README.md
+++ b/README.md
@@ -217,7 +217,7 @@ If your workflow depends on this token, you need to create a [personal access to
act -s GITHUB_TOKEN=[insert token or leave blank and omit equals for secure input]
```
-If [GitHub CLI](https://cli.github.com/) is installed, the [`gh auth token`](https://cli.github.com/manual/gh_auth_token) command can be used to autmatically pass the token to act
+If [GitHub CLI](https://cli.github.com/) is installed, the [`gh auth token`](https://cli.github.com/manual/gh_auth_token) command can be used to automatically pass the token to act
```bash
act -s GITHUB_TOKEN="$(gh auth token)"
@@ -297,6 +297,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
+## 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
To use a different image for the runner, use the `-P` option.
@@ -485,7 +494,7 @@ Want to contribute to act? Awesome! Check out the [contributing guidelines](CONT
## Manually building from source
-- Install Go tools 1.18+ - (<https://golang.org/doc/install>)
+- Install Go tools 1.20+ - (<https://golang.org/doc/install>)
- Clone this repo `git clone git@github.com:nektos/act.git`
- Run unit tests with `make test`
- Build and install: `make install`