Added load ssh key into container
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
779b9784df
commit
c4fc85acbb
|
@ -52,7 +52,7 @@ run_docker_cp() {
|
||||||
|
|
||||||
echo "--- start exec ---"
|
echo "--- start exec ---"
|
||||||
if [ -n "$PLUGIN_EXEC" ]; then
|
if [ -n "$PLUGIN_EXEC" ]; then
|
||||||
docker -H "$REMOTE_DOCKER_HOST" exec "$CONTAINER" sh -c "$PLUGIN_EXEC"
|
docker -H "$REMOTE_DOCKER_HOST" exec "$CONTAINER" sh -c "eval `ssh-agent` && echo \"$PLUGIN_DEPLOY_KEY\" | ssh-add - && $PLUGIN_EXEC"
|
||||||
fi
|
fi
|
||||||
echo "--- end exec ---"
|
echo "--- end exec ---"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue