I don't quite see how you can have a fully reproducible build that integrates a secret key.
Presumably there must be some final signing step that isn't reproducible.
The secret key is in hardware. The phone signs a hash of the OS so the OS itself does not contain keys.
The OS signature is separate from the reproducible build, and the secret key used for attestation is in a "trusted platform module" - a little computer running firmware the user cannot modify and can only interact with in limited ways.