in the Compose part, use the expression base64(outputs('Get_Attachment_(V2)')?['body']) to convert the attachment into base64 to be used in Header.
base64(outputs('Get_Attachment_(V2)')?['body'])