remove ENV and fix readme.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-12-27 19:19:39 +08:00
parent 3f99537b2e
commit 52d4a2a4a9
2 changed files with 2 additions and 4 deletions

View File

@ -44,7 +44,6 @@ docker run --rm \
-e PLUGIN_HOST=foo.com \
-e PLUGIN_USER=root \
-e PLUGIN_KEY="$(cat ${HOME}/.ssh/id_rsa)" \
-e PLUGIN_PASSWORD=xxxxx \
-e PLUGIN_SCRIPT=whoami \
-v $(pwd):$(pwd) \
-w $(pwd) \

View File

@ -62,9 +62,8 @@ func main() {
EnvVar: "PLUGIN_SCRIPT,SSH_SCRIPT",
},
cli.StringFlag{
Name: "env-file",
Usage: "source env file",
EnvVar: "ENV_FILE",
Name: "env-file",
Usage: "source env file",
},
}