Skip to content

Commit

Permalink
added sample ci configuration scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
chirag-ji committed Oct 30, 2024
1 parent bd23ec3 commit 7091c4a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
32 changes: 30 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
# A docker image for building the flutter releases in runners

[flutter-aio](https://github.com/chirag-ji/flutter-aio) repository contains the container which can be used in runners for building the releases in fewer efforts.
[flutter-aio](https://github.com/chirag-ji/flutter-aio) repository contains the container which can be used in runners
for building the releases in fewer efforts.

#### This repository includes:

- Flutter
- Android SDK
- JDK 17


##### This supports currently building the following:

- Android releases
- Web Builds

#### Usages:

- GitLab Runners
- GitHub Actions
- Gitea Actions
Expand All @@ -23,3 +26,28 @@

Only **stable** branch is being built from [flutter](https://github.com/flutter/flutter) repository.

------------------------------

### Sample CI configuration scripts:

> .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

0 comments on commit 7091c4a

Please sign in to comment.