Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

Darkness4/flutter-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Darkness4/flutter-builder

A flutter-builder container with the choice of the SDK and the flutter channel.

pipeline status license docker build status docker pulls docker stars

docker image size 29-master docker image size 28-master docker image size 27-master

Tags

SDK 29

  • latest, master, latest-master, 29, 29-master
  • dev, latest-dev, 29-dev
  • beta, latest-beta, 29-beta
  • stable, latest-stable, 29-stable

SDK 28

  • 28, 28-master
  • 28-dev
  • 28-beta
  • 28-stable

SDK 27

  • 27, 27-master
  • 27-dev
  • 27-beta
  • 27-stable

Usage

docker pull darkness4/flutter-builder:{Android SDK}-{Flutter branch}

Gitlab CI Example

# gitlab.yml
stages:
  - build

build:
  stage: build
  image: darkness4/flutter-builder:28

  before_script:
    - flutter channel master  # Just to be sure
    - flutter upgrade  # Always update

  script:
    - flutter build apk --target-platform android-arm,android-arm64 --split-per-abi

  after_script:
    - mv build/app/outputs/apk/release/app-armeabi-v7a-release.apk app-armeabi-v7a-release.apk 
    - mv build/app/outputs/apk/release/app-arm64-v8a-release.apk app-arm64-v8a-release.apk 

  artifacts:
    paths:
      - app-armeabi-v7a-release.apk
      - app-arm64-v8a-release.apk
    expire_in: 1 week

## License

```txt
MIT License

Copyright (c) 2019 Marc NGUYEN

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

A flutter-builder container with build-args

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published