Add keyscan, use only version checker
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
d04583f6d2
commit
7d18025ae5
|
@ -3,15 +3,16 @@
|
|||
|
||||
load_deploy_key() {
|
||||
eval `ssh-agent`
|
||||
ssh-keyscan "$PLUGIN_HOST" > "$HOME/.ssh/known_hosts"
|
||||
echo "$PLUGIN_DEPLOY_KEY" | ssh-add -
|
||||
}
|
||||
|
||||
run_stack_deploy() {
|
||||
PLUGIN_COMPOSE=${PLUGIN_COMPOSE:-compose.yml}
|
||||
|
||||
echo "--- start docker:dind info ---"
|
||||
docker info
|
||||
echo "--- end docker:dind info ---"
|
||||
echo "--- start docker info ---"
|
||||
docker version
|
||||
echo "--- end docker info ---"
|
||||
|
||||
docker -H "$PLUGIN_HOST" stack deploy -c "$PLUGIN_COMPOSE" "$PLUGIN_STACK"
|
||||
}
|
||||
|
|
Reference in New Issue