1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-15 18:57:01 +00:00
Forgejo runner - alpha release, should not be considered secure enough to deploy in production
Find a file
Björn Brauer 79833c689f 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
.github build(deps): bump megalinter/megalinter from 6.17.0 to 6.18.0 (#1550) 2023-01-10 21:16:52 +00:00
act feat: add support for building docker actions with private registries (#1557) 2023-01-12 21:29:30 +00:00
cmd revert: deprecation of containerArchitecture (#1514) 2022-12-19 21:24:05 +00:00
main.go feat: handle context cancelation during docker exec (#1170) 2022-05-24 14:52:25 +00:00