flutter-aio repository image contains the images which can be used in runners for building the releases in fewer efforts.
- Flutter
- Android SDK
- JDK 17
- Android releases
- Web Builds
- GitLab Runners
- GitHub Actions
- Gitea Actions
Only stable branch is being built from flutter repository.
Note: flutter-aio tags works on the basis of flutter stable version
.gitlab-ci.yml
image: chiragji/flutter-aio:latest
variables:
GRADLE_USER_HOME: "$CI_PROJECT_DIR/.gradle"
stages:
- build-android
build_android:
stage: build-android
script:
- flutter --version
- flutter pub get
- echo "Generating the part dart classes"
- dart run build_runner build --delete-conflicting-outputs # Build all the dependends
# Build Android APK
# - flutter build apk --release
- flutter build appbundle