Bash hacking
continuous-integration/drone/push Build is passing Details

This commit is contained in:
KawaiiPunk 2022-08-09 16:30:46 +01:00
parent c791e95895
commit e9094b7d49
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 "mkdir /root/.ssh && echo $PLUGIN_DEPLOY_KEY > /root/.ssh/id_rsa && chmod -R 600 /root/.ssh && $PLUGIN_EXEC"
docker -H "$REMOTE_DOCKER_HOST" exec "$CONTAINER" sh -c "mkdir -p /root/.ssh && echo \"$PLUGIN_DEPLOY_KEY\" > /root/.ssh/id_rsa && chmod -R 600 /root/.ssh && $PLUGIN_EXEC"
fi
echo "--- end exec ---"