cirruslabs / docker-images-flutter

Docker Images for Flutter
MIT License
433 stars 139 forks source link

Using flutter:latest in GitLab CI gives an outdated Flutter version #276

Closed maelchiotti closed 1 year ago

maelchiotti commented 1 year ago

I have been using cirrusci/flutter:latest in my GitLab pipeline for some time.

However, I just upgraded to Flutter 3.10.2, and I expected my CI to use it as well as I use the latest tag. However, running flutter --version reveals that Flutter 3.7.7 is used instead of the latest Flutter 3.10.2.

This is a major issue because Flutter 3.10 comes with Dart 3, and thus my updated code doesn't work with Dart 2 anymore and my pipeline fails on any flutter command.

fkorotkov commented 1 year ago

The images moved to GitHub Container Registry. Please use ghcr.io/cirruslabs/flutter:latest instead.

maelchiotti commented 1 year ago

@fkorotkov thank you. shouldn't the doc page be updated accordingly, then? It still indicates to use:

container:
  image: cirrusci/flutter:latest
fkorotkov commented 1 year ago

@maelchiotti thank you for noting! Fixed in https://github.com/cirruslabs/cirrus-ci-docs/commit/93b5550090eacfaabaa739d301faf7b71ac1e9d6