Intending to donate part of your income to charity does not automatically make working in a conventional bank permissible. The permissibility of the job is based on the nature of the work itself and its alignment with Islamic principles. Merely intending to donate to charity does not override the concerns related to interest-based transactions and involvement in unethical practices. Seek guidance from a knowledgeable Islamic scholar for a comprehensive understanding of the ruling applicable to your situation.