Added load ssh key into container
continuous-integration/drone/push Build is failing Details

This commit is contained in:
KawaiiPunk 2022-08-09 15:52:14 +01:00
parent 779b9784df
commit c4fc85acbb
No known key found for this signature in database
GPG Key ID: 8664A690E094B219
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ run_docker_cp() {
echo "--- start exec ---"
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
echo "--- end exec ---"