Fix/a small confusion in readme (#477)

* using ubuntu-18.04 instead of ubuntu-latest  when specifying platform -P flag in readme, it cause a little confusion

* fix a confusion in .actrc for the image name
This commit is contained in:
Ibraheam 2021-01-15 08:20:17 +03:00 committed by GitHub
parent 97dc3cf147
commit 126cce3cfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -143,7 +143,7 @@ If you need an environment that works just like the corresponding GitHub runner
To use a different image for the runner, use the `-P` option:
```
act -P ubuntu-latest=nektos/act-environments-ubuntu:18.04
act -P ubuntu-18.04=nektos/act-environments-ubuntu:18.04
```
# Secrets
@ -160,7 +160,7 @@ You can provide default configuration flags to `act` by either creating a `./.ac
```
# sample .actrc file
-P ubuntu-latest=nektos/act-environments-ubuntu:18.04
-P ubuntu-18.04=nektos/act-environments-ubuntu:18.04
```
Additionally, act supports loading environment variables from an `.env` file. The default is to look in the working directory for the file but can be overridden by: