Open GApps provides an official Android app called “Open GApps App” (available on F-Droid or their GitHub). This app automatically detects your architecture and Android version (7.1.2) and downloads the package directly.
Install your Android 7.1.2 ROM (e.g., LineageOS 14.1). Do not boot yet. open gapps android 712 verified