Commit graph

71 commits

Author SHA1 Message Date
Hibariya
8de7b956b7
Add --userns flag to support Docker daemon that enables user namespace (#533)
I got an error like this after hitting `act` command.

> Error: Error response from daemon: cannot share the host's network namespace when user namespaces are enabled

According to the document, when user namespaces are enabled on the Docker daemon,
neither host network mode and --privileged work without --userns=host. Since `act`
uses host network mode to match GitHub Actions runners, it cannot run jobs when
user namespaces are enabled. So I added the flag.

https://docs.docker.com/engine/security/userns-remap/#user-namespace-known-limitations

Co-authored-by: Casey Lee <cplee@nektos.com>
2021-02-27 08:31:25 -08:00
hackercat
34dc2dc15c
Update Docker images (#524) 2021-02-23 09:49:24 -08:00
Johannes Nicolai
c4f1f3a1cf
Fix link to issue #97 in README.md (#541)
* fix link to issue #97 in README.md explaining why certain runner platforms are not supported
2021-02-23 09:45:28 -08:00
Cat™
fc46f506e3
Update README.md/cmd/root.go with additional information (#523)
* Update README

* Add notice about large image, add link to repo for `.actrc`
2021-02-08 09:12:57 -08:00
Cat™
b424a785e3
Load .secrets file as default (#488)
* Load .secrets file as default

* Update README
2021-01-19 06:31:46 -08:00
Cat™
9bbf35e88e
Add autodetect event flag (#486)
* Add autodetect event flag

* Add new flag to README.md

* Make help more clear
2021-01-18 11:42:55 -08:00
Cat™
460ed2db04
Update parts of repo (#476)
* Update flags in README

* Add secrets and `.env` files examples

* Fix typo: environment

* Fix typo: returned

* Add --version back, since I've built act without ldflags
2021-01-14 21:21:44 -08:00
Ibraheam
126cce3cfe
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
2021-01-14 21:20:17 -08:00
Cat™
fecc571bce
Add Ubuntu 20.04 to supported platforms (#463)
Co-authored-by: Casey Lee <cplee@nektos.com>
2021-01-11 22:22:53 -08:00
Benjamin Cooper
e16e6ea1c8
Update README.md (#459) 2021-01-08 00:26:20 -08:00
Torbjørn Vatn
b3299ecd30
Act env (#417)
* Test more if env variants

* The correct negation syntax is !=

* Make the Interpolate function support negated booleans from envs

* Move assert := a.New(t) into t.Run

This uncovered that some of the test premisses was wrong and the
Eval Bool function also had flaws

* Remove a stray logrus import

* Add an ACT env set to true

This can be used to skip certain steps that you don't want to run locally
when testing. E.g. steps that sends messages to Slack channels on successful
builds etc.

* Add a description about env.ACT to the readme

* A new attempt at Interpolation and EvalBool

* One small merge fix

* Remove some fmt.Printfs

* Fix some merge conflicts
2020-11-18 07:14:34 -08:00
Benjamin Räthlein
1e69525fb4
Update README.md (#399)
Add the command structure and another example for a non-default event command to make the usage more clear
2020-10-21 08:09:40 -07:00
jmmendivil
4791a9bc44
doc: add --secret-file example (#395) 2020-10-17 07:38:53 -07:00
Tom Payne
6fdf1b04ef
Fix Homebrew install instructions (#374) 2020-09-28 08:21:44 -07:00
Nicholas Nadeau, Ph.D., P.Eng
3ec15546bf
Added docker pull instructions 2020-07-26 11:25:14 -04:00
Strajk
4864ece107 Document secret-file in README and add example 2020-07-21 10:10:23 +02:00
Raj Nigam
f5e1bd45b3
Update unit test command to make test (#274) 2020-06-12 15:31:37 -07:00
Gabriel Joshua Paet
a3a85938ad
Added documentation for module not found issue. (#256)
* Added documentation for module not found issue.

* Linked the open issue #228.
2020-05-26 09:12:17 -07:00
Josh Soref
2bb9906425
Markup for runners (#241) 2020-05-18 09:54:59 -07:00
Josh Soref
2f3187ebcd
Grammar (#238)
* spelling: GitHub

* Spelling and grammar
2020-05-15 12:30:49 -07:00
Tomer Keren
320b0b8127
Add install instructions from Scoop (#183) 2020-04-16 16:22:47 -07:00
Yannik Sander
25e1ad687d
Include install instructions for nix (#152) 2020-03-13 07:55:20 -07:00
David Lozano Jarque
f6b761378a
docs(README): add --env-file flag (#147) 2020-03-12 09:54:05 -07:00
Casey Lee
b7fcf137ab
Fix 132 - support for chocolatey install (#144)
* fix #132 - publish chocolatey package for act

* add missing files to pass validation

* remove extra choco step
2020-03-09 17:49:55 -07:00
Jacob Turner
2157ef76e8
Add flags to README (#138)
Co-authored-by: Casey Lee <cplee@nektos.com>
2020-03-06 17:06:07 -08:00
Jacob Turner
643f8d08b7
Add event documentation (#137) 2020-03-06 17:05:36 -08:00
Casey Lee
4fde7d8865
fix #121 and #123 - add support for reading env variables from .env (#133) 2020-03-06 12:30:24 -08:00
Casey Lee
e739f72c5e
Update README.md 2020-02-26 22:09:13 -08:00
Casey Lee
dadf8918be
documentation for .actrc 2020-02-24 22:16:00 -08:00
Casey Lee
418b0db047
reuse containers to fix #86 2020-02-20 22:43:20 -05:00
Casey Lee
80147e8b5b
new quickstart image
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:06:26 -05:00
Casey Lee
6834c5c96f
add warning
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:06:20 -05:00
Casey Lee
3d3fc59dbe
update for platforms
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:06:18 -05:00
Casey Lee
573f78e1b4
support for secrets
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:06:09 -05:00
Casey Lee
409060c847
merge master
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:53 -05:00
Casey Lee
76b1c6a3f1
HCL syntax disclaimer on README
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:50 -05:00
Casey Lee
e29973becf
updates to readme for next act release
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:46 -05:00
Casey Lee
64562d41ab
test updates
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:44 -05:00
Bengt Brodersen
51bcd05909
doc: remove unnecessary brew command 2019-09-09 17:05:51 +02:00
Sven Lechner
59fb4b3b2c
add arch linux installation instructions
I've created an AUR package for act :)
2019-09-04 14:46:49 +02:00
Casey Lee
cb6bfde683
Merge branch 'master' into patch-2 2019-05-22 23:12:45 -07:00
Max Held
6fd3811ec6
explain how to run act with secrets
again, thought this might be helpful for other users.
**Caveat**: I'm not an InfoSec expert, so someone should look this over.
Don't want to encourage people to do stupid things.
2019-05-20 20:04:47 +02:00
Max Held
367ec0c61c
explain how to "skip" some actions using filter
I just figured this out; might be helpful for other users.
2019-05-20 19:49:10 +02:00
Chase Adams
4c09cbb045
s/pull-request/pull_request
pull-request isn't an event type but pull_request is!
2019-04-02 11:11:59 -07:00
Jaskaranbir Singh
07242b8c7a
Add info about verbose-switch to README 2019-02-17 15:06:45 -05:00
Kentaro Matsushita
4b2e1700f1
Fix an install command for brew 2019-02-03 18:39:47 +09:00
Casey Lee
1e0ec5280f
Merge branch 'master' of github.com:nektos/act 2019-01-23 06:10:19 -08:00
Casey Lee
365f7aefdd
readme update 2019-01-23 06:10:01 -08:00
Casey Lee
bb2f48af09
Update README.md 2019-01-22 07:33:20 -08:00
Sven Dowideit
df01d4fd8a Go 1.11.4+ and Docker 18.09 pre-reqs
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2019-01-21 18:32:36 +10:00