act/pkg
Björn Brauer 3f3b25ae84
feat: add support for building docker actions with private registries (#1557)
This commit adds a new `LoadDockerAuthConfigs` function, which loads all
registry auths that are configured on the host and sends them with the build
command to the docker daemon.

This is needed in case act builds a docker action and the images referenced in
that docker action are located on private registries or otherwise require
authentication (e.g. to get a higher rate limit).

The code is adapted from how the docker cli works:
257ff41304/cli/command/image/build.go (L323-L332)

Co-authored-by: Markus Wolf <mail@markus-wolf.de>

Co-authored-by: Markus Wolf <mail@markus-wolf.de>
2023-01-12 21:29:30 +00:00
..
artifacts lint: add ReadHeaderTimeout (#1277) 2022-07-25 12:12:48 +00:00
common refactor: move from io/ioutil to io and os packages (#1417) 2022-10-29 17:15:38 +00:00
container feat: add support for building docker actions with private registries (#1557) 2023-01-12 21:29:30 +00:00
exprparser feat: Support "result" on "needs" context. (#1497) 2022-12-19 08:37:53 +00:00
lookpath feat: Host environment (#1293) 2022-11-16 21:29:45 +00:00
model refactor: fix savestate in pre steps (#1466) 2022-12-15 17:08:31 +00:00
runner fix: extra path lost in composite actions (#1531) 2023-01-10 21:55:05 +00:00