Installing an OS on My Intel Mac Mini
According to Apple support, pressing the Eject or F12 key or holding the mouse or trackpad button at boot time will eject any removable media, such as an optical disc.