Improve the usage of docker_host
configuration
#260
No reviewers
Labels
No Label
kind
bug
kind
build
kind/compatible
kind
dependencies
kind
docs
kind
enhancement
kind
feature
kind
help wanted
kind
proposal
kind
refactor
related
act
related
environment
related
exec
related
gitea
related
workflow
reviewed
confirmed
reviewed
duplicate
reviewed
invalid
reviewed
needs feedback
reviewed
wontfix
reviewed
workaround
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/act_runner#260
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "Zettat123/act_runner:improve-docker-host"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow #242, #244
Fixes #258
Users could use
docker_host
configuration to specify which docker daemon will be used by act_runner.docker_host
is empty, act_runner will find an available docker host automatically.docker_host
is "-", act_runner will find an available docker host automatically, but the docker host won't be mounted to the job containers and service containers.docker_host
is not empty or "-", the specified docker host will be used. An error will be returned if it doesn't work.WIP: Improve the usage of `docker_host` configurationto Improve the usage of `docker_host` configurationImprove the usage of `docker_host` configurationto Improve the usage of `docker_host` configurationImprove the usage of `docker_host` configurationto WIP: Improve the usage of `docker_host` configurationWIP: Improve the usage of `docker_host` configurationto Improve the usage of `docker_host` configurationLGTM, just some a problem about code style.
@ -0,0 +8,4 @@
"os"
)
func getDockerSocketPath(configDockerHost string) (string, error) {
The functions body code smells bad.
Please change it to
fixed in
ba20ddb2f7