forked from Ivasoft/github-actions
Alow not a DinD mode of operation
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
@@ -155,6 +155,11 @@ func main() {
|
||||
Usage: "don't start the docker daemon",
|
||||
EnvVar: "PLUGIN_DAEMON_OFF",
|
||||
},
|
||||
cli.BoolFlag{
|
||||
Name: "not.hidden.socket",
|
||||
Usage: "in case of daemon.off use unix:///run/hidden_docker.sock instead of unix:///run/docker.sock",
|
||||
EnvVar: "PLUGIN_NOT_HIDDEN_SOCKET",
|
||||
},
|
||||
}
|
||||
|
||||
if err := app.Run(os.Args); err != nil {
|
||||
@@ -200,6 +205,7 @@ func run(c *cli.Context) error {
|
||||
DNSSearch: c.StringSlice("daemon.dns-search"),
|
||||
MTU: c.String("daemon.mtu"),
|
||||
Experimental: c.Bool("daemon.experimental"),
|
||||
NotHiddenSocket: c.Bool("not.hidden.socket"),
|
||||
},
|
||||
}
|
||||
return plugin.Exec()
|
||||
|
||||
Reference in New Issue
Block a user