Dezember 2, 2018

Building Flutter on Gitlab – Flutter Android Image

When it came to building a Flutter MVP application, I was very dissatisfied with the existing Flutter Images. They were outdated by many many versions. Therefore I created an image reflecting the current version of Flutter.

Angular Schulungen

The source is on Github, you can find the Image ‚kattwinkel/flutter-android‘ on Docker Hub.

A minimal .gitlab-ci.yml file might just look like this:

test app:
  image: kattwinkel/flutter-android
  stage: test
  script:
  - cd app
  - flutter test

build app:
  image: kattwinkel/flutter-android
  stage: build
  script:
    - cd app
    - flutter build apk
  artifacts:
    expire_in: 1 week
    paths:
    - app/build/app/outputs/apk/release/app-release.apk


Avatar-Foto

theCodeCampus
Developer at thecodecampus </>

Our knowledge is not simply gained through reading - it is trained, tested and constantly being expanded. Because first and foremost, we are all developers at W11K. The know-how that we acquire here as developers, consultants and information architects flows immediately into our training courses and articles for theCodeCampus.


Schreibe einen Kommentar

Add code to your comment in Markdown syntax.
Like this:
`inline example`

```
code block
example
```

Deine E-Mail-Adresse wird nicht veröffentlicht.