Compare commits

...

6 Commits

Author SHA1 Message Date
verified-commit[bot] c22d64adab chore(release): prepare for 3.38.1 2025-11-17 19:59:55 +00:00
verified-commit[bot] 64172b2293 chore(release): upgrade flutter to 3.38.1 (#399)
Co-authored-by: verified-commit[bot] <180343340+verified-commit[bot]@users.noreply.github.com>
2025-11-17 20:59:39 +01:00
renovate[bot] 506923fb47 chore(deps): update mcr.microsoft.com/windows/servercore:ltsc2025 docker digest to 1126ba4 (#398)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Eligio Mariño <22875166+gmeligio@users.noreply.github.com>
2025-11-17 19:45:19 +01:00
verified-commit[bot] e90a255935 chore(release): prepare for 3.38.0 2025-11-12 21:37:19 +00:00
verified-commit[bot] f4ef35fa9a chore(release): upgrade flutter to 3.38.0 (#397)
Co-authored-by: verified-commit[bot] <180343340+verified-commit[bot]@users.noreply.github.com>
Co-authored-by: Eligio Mariño <22875166+gmeligio@users.noreply.github.com>
2025-11-12 22:37:05 +01:00
renovate[bot] 41e24c433d chore(deps): update debian:13.1-slim docker digest to a347fd7 (#396)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-10 21:22:08 +01:00
9 changed files with 7890 additions and 7455 deletions
+27 -2
View File
@@ -62,6 +62,7 @@ jobs:
if: ${{ needs.update_flutter_version.outputs.new_version == 'true' }}
outputs:
version_artifact_id: ${{ steps.upload-version.outputs.artifact-id }}
android_test_artifact_id: ${{ steps.upload-android-test.outputs.artifact-id }}
runs-on: ubuntu-24.04
container:
image: ghcr.io/${{ github.repository_owner }}/flutter-android:${{ vars.FLUTTER_VERSION }}
@@ -121,6 +122,17 @@ jobs:
run: |
rm -rf test_app
- name: Setup CUE
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
with:
repo: cue-lang/cue
tag: v0.14.1
digest: c7d29f5988d088627cf53bd6a223807c466066cf432c7cf5c36429ffc9e734f6
- name: Generate test files with CUE
run: |
./script/update_test.sh
- name: Upload artifact with the updated version.json
id: upload-version
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
@@ -128,6 +140,13 @@ jobs:
name: version.json
path: config/version.json
- name: Upload the test artifact for Android
id: upload-android-test
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
name: android.yml
path: test/android.yml
validate_config_version:
needs: update_android_version
runs-on: ubuntu-24.04
@@ -177,9 +196,9 @@ jobs:
# https://github.com/actions/download-artifact/issues/138
- name: Delete flutter_version.json and version.json
run: |-
rm config/flutter_version.json config/version.json
rm config/flutter_version.json config/version.json test/android.yml
- name: Download artifact with the new Flutter version
- name: Download configuration artifacts
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
with:
artifact-ids: ${{ needs.update_flutter_version.outputs.flutter_version_artifact_id }},${{ needs.update_android_version.outputs.version_artifact_id }}
@@ -187,6 +206,12 @@ jobs:
# Download to the configured path instead of separated directories by artifact id
merge-multiple: true
- name: Download test artifacts
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
with:
artifact-ids: ${{ needs.update_android_version.outputs.android_test_artifact_id }}
path: test
- name: Setup NodeJS
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
+2 -2
View File
@@ -1,11 +1,11 @@
FROM debian:13.1-slim@sha256:66b37a5078a77098bfc80175fb5eb881a3196809242fd295b25502854e12cbec AS flutter
FROM debian:13.1-slim@sha256:a347fd7510ee31a84387619a492ad6c8eb0af2f2682b916ff3e643eb076f925a AS flutter
SHELL ["/bin/bash", "-euxo", "pipefail", "-c"]
ENV LANG=C.UTF-8
# renovate: suite=trixie depName=curl
ARG CURL_VERSION="8.14.1-2"
ARG CURL_VERSION="8.14.1-2+deb13u2"
# renovate: suite=trixie depName=git
ARG GIT_VERSION="1:2.47.3-0+deb13u1"
# renovate: suite=trixie depName=lcov
+10
View File
@@ -1,3 +1,13 @@
## [3.38.1] - 2025-11-17
### ⚙️ Miscellaneous Tasks
- *(release)* Upgrade flutter to 3.38.1 (#399)
## [3.38.0] - 2025-11-12
### ⚙️ Miscellaneous Tasks
- *(release)* Upgrade flutter to 3.38.0 (#397)
## [3.35.7] - 2025-11-02
### ⚙️ Miscellaneous Tasks
+2 -2
View File
@@ -1,7 +1,7 @@
{
"flutter": {
"channel": "stable",
"commit": "adc901062556672b4138e18a4dc62a4be8f4b3c2",
"version": "3.35.7"
"commit": "b45fa18946ecc2d9b4009952c636ba7e2ffbb787",
"version": "3.38.1"
}
}
+4 -4
View File
@@ -1,8 +1,8 @@
{
"flutter": {
"channel": "stable",
"commit": "adc901062556672b4138e18a4dc62a4be8f4b3c2",
"version": "3.35.7"
"commit": "b45fa18946ecc2d9b4009952c636ba7e2ffbb787",
"version": "3.38.1"
},
"android": {
"platforms": [
@@ -11,7 +11,7 @@
}
],
"gradle": {
"version": "8.12"
"version": "8.14"
},
"buildTools": {
"version": "35.0.0"
@@ -20,7 +20,7 @@
"version": "19.0"
},
"ndk": {
"version": "27.0.12077973"
"version": "28.2.13676358"
},
"cmake": {
"version": "3.22.1"
+7830 -7430
View File
File diff suppressed because it is too large Load Diff
+13 -13
View File
@@ -23,7 +23,7 @@ The images includes the minimum tools to run Flutter and build apps. The version
## Features
* Installed Flutter SDK 3.35.7.
* Installed Flutter SDK 3.38.1.
* Analytics disabled by default, opt-in if `ENABLE_ANALYTICS` environment variable is passed when running the container.
* Rootless user `flutter:flutter`, with permissions to run on Github workflows and GitLab CI.
* Cached Fastlane gem 2.228.0.
@@ -33,22 +33,22 @@ Predownloaded SDKs and tools in Android:
* Licenses accepted
* Android SDK Platforms: 36
* Android NDK: 27.0.12077973
* Gradle: 8.12
* Android NDK: 28.2.13676358
* Gradle: 8.14
## Running Containers
| Registry | flutter-android |
| ------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| Docker Hub | [gmeligio/flutter-android:3.35.7](https://hub.docker.com/r/gmeligio/flutter-android) |
| GitHub Container Registry | [ghcr.io/gmeligio/flutter-android:3.35.7](https://github.com/gmeligio/flutter-docker-image/pkgs/container/flutter-android) |
| Quay | [quay.io/gmeligio/flutter-android:3.35.7](https://quay.io/repository/gmeligio/flutter-android) |
| Docker Hub | [gmeligio/flutter-android:3.38.1](https://hub.docker.com/r/gmeligio/flutter-android) |
| GitHub Container Registry | [ghcr.io/gmeligio/flutter-android:3.38.1](https://github.com/gmeligio/flutter-docker-image/pkgs/container/flutter-android) |
| Quay | [quay.io/gmeligio/flutter-android:3.38.1](https://quay.io/repository/gmeligio/flutter-android) |
On the terminal:
```bash
# From GitHub Container Registry
docker run --rm -it ghcr.io/gmeligio/flutter-android:3.35.7 bash
docker run --rm -it ghcr.io/gmeligio/flutter-android:3.38.1 bash
```
On a workflow in GitHub Actions:
@@ -58,7 +58,7 @@ jobs:
build:
runs-on: ubuntu-22.04
container:
image: ghcr.io/gmeligio/flutter-android:3.35.7
image: ghcr.io/gmeligio/flutter-android:3.38.1
steps:
- name: Checkout
uses: actions/checkout@v2
@@ -70,7 +70,7 @@ On a `.gitlab-ci.yml` in GitLab CI:
```yaml
build:
image: ghcr.io/gmeligio/flutter-android:3.35.7
image: ghcr.io/gmeligio/flutter-android:3.38.1
script:
- flutter build apk
```
@@ -91,20 +91,20 @@ bundle exec fastlane
Every new tag on the flutter stable channel gets built. The tag is composed of the Flutter version used to build the image:
* Docker image: gmeligio/flutter-android:3.35.7
* Flutter version: 3.35.7
* Docker image: gmeligio/flutter-android:3.38.1
* Flutter version: 3.38.1
## Building Locally
The android.Dockerfile expects a few arguments:
* `flutter_version <string>`: The version of Flutter to use when building. Example: 3.35.7
* `flutter_version <string>`: The version of Flutter to use when building. Example: 3.38.1
* `android_build_tools_version <string>`: The version of the Android SDK Build Tools to install. Example: 35.0.0
* `android_platform_versions <list>`: The versions of the Android SDK Platforms to install, separated by spaces. Example: 36
```bash
# Android
docker build --target android --build-arg flutter_version=3.35.7 --build-arg fastlane_version=2.228.0 --build-arg android_build_tools_version=35.0.0 --build-arg android_platform_versions="36" -t android-test .
docker build --target android --build-arg flutter_version=3.38.1 --build-arg fastlane_version=2.228.0 --build-arg android_build_tools_version=35.0.0 --build-arg android_platform_versions="36" -t android-test .
```
## Roadmap
+1 -1
View File
@@ -30,7 +30,7 @@ commandTests:
args:
- /home/flutter/sdks/android-sdk/ndk
expectedOutput:
- 27.0.12077973
- 28.2.13676358
- name: CMake is pinned
command: ls
args:
+1 -1
View File
@@ -1,6 +1,6 @@
# escape=`
FROM mcr.microsoft.com/windows/servercore:ltsc2025@sha256:ca8664f451cf5d2732d1f791235821a8a08b2eae5961d340a17fde6e80d5ff56 as flutter
FROM mcr.microsoft.com/windows/servercore:ltsc2025@sha256:1126ba40ef176fb8393f59822c2431c5daf38f5c67a62808960c7036311350af as flutter
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]