848 B
848 B
Gitea APK Build Runbook
Can Gitea build the APK automatically?
Yes. Gitea Actions can build Android APKs automatically on push or manual dispatch if an Actions runner is available with Docker or enough tooling to install Android commandline tools.
Debug APKs
Debug APKs are straightforward and do not need signing secrets. The workflow in .gitea/workflows/android-apk.yml builds app/build/outputs/apk/debug/app-debug.apk and uploads it as an artifact.
Release APKs
Release APKs should be added later after creating secrets:
ANDROID_KEYSTORE_BASE64ANDROID_KEYSTORE_PASSWORDANDROID_KEY_ALIASANDROID_KEY_PASSWORD
Never commit keystores or passwords.
Local fallback
If the runner cannot install Android SDK components or dependency downloads are blocked, build locally with:
make build-debug