Don't quote $PLUGIN_SOURCE
continuous-integration/drone/push Build is passing Details

This commit is contained in:
3wc 2020-11-15 00:10:33 +02:00
parent 896a87301e
commit 7e2ad80aa6
1 changed files with 4 additions and 2 deletions

View File

@ -37,8 +37,10 @@ run_docker_cp() {
echo "ERROR: can't find container for $PLUGIN_SERVICE"
return 1
fi
echo docker -H "$REMOTE_DOCKER_HOST" cp "$PLUGIN_SOURCE" "$CONTAINER:$PLUGIN_DEST"
tar cf - "$PLUGIN_SOURCE" | docker -H "$REMOTE_DOCKER_HOST" cp - "$CONTAINER:$PLUGIN_DEST"
# shellcheck disable=SC2086
echo tar cf - $PLUGIN_SOURCE | docker -H "$REMOTE_DOCKER_HOST" cp - "$CONTAINER:$PLUGIN_DEST"
# shellcheck disable=SC2086
tar cf - $PLUGIN_SOURCE | docker -H "$REMOTE_DOCKER_HOST" cp - "$CONTAINER:$PLUGIN_DEST"
echo "--- end deploy ---"
}