Allow job container to be attached to specific docker network #66

Closed
opened 2023-03-21 23:47:01 +00:00 by sebthom · 1 comment

As far as I understand network mode is currently hardcoded to "bridge".

I am not familiar with the act source code or even golang, but I think it is hardcoded here:

containerNetworkMode: "bridge", // TODO should be configurable

I am trying to use the runner in an environment where the job containers needs to be attached to a specific docker network to reach Gitea for e.g. SCM checkout etc.

As far as I understand network mode is currently hardcoded to "bridge". I am not familiar with the act source code or even golang, but I think it is hardcoded here: https://gitea.com/gitea/act_runner/src/commit/48b05a0ca8f3c1067bbdd88e83895edecccf1341/runtime/task.go#L81 I am trying to use the runner in an environment where the job containers needs to be attached to a specific docker network to reach Gitea for e.g. SCM checkout etc.
wolfogre added the
kind
enhancement
label 2023-04-04 03:57:24 +00:00
Author

@wolfogre thanks!

@wolfogre thanks!
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/act_runner#66
No description provided.