From 126cce3cfe1714e44dca9b23dc9991e405e5d778 Mon Sep 17 00:00:00 2001 From: Ibraheam Date: Fri, 15 Jan 2021 08:20:17 +0300 Subject: [PATCH] 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 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f4edd4e..3367c1a 100644 --- a/README.md +++ b/README.md @@ -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: