Compare commits

...

11 Commits

Author SHA1 Message Date
verified-commit[bot] 560211cd91 chore(release): prepare for 3.38.3 2025-11-24 08:07:28 +00:00
verified-commit[bot] 33ce70a0e4 chore(release): upgrade flutter to 3.38.3 (#401)
Co-authored-by: verified-commit[bot] <180343340+verified-commit[bot]@users.noreply.github.com>
2025-11-24 09:07:16 +01:00
verified-commit[bot] de7f1e6870 chore(release): prepare for 3.38.2 2025-11-19 07:48:25 +00:00
verified-commit[bot] c1ba187e66 chore(release): upgrade flutter to 3.38.2 (#400) 2025-11-19 08:48:13 +01:00
renovate[bot] 3ca7c2269c chore(deps): update all non-major dependencies (#388) 2025-11-18 18:51:32 +01:00
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
11 changed files with 7918 additions and 7474 deletions
+10 -10
View File
@@ -18,7 +18,7 @@ jobs:
# Allow to write pull requests for the docker/scout-action to write a comment
pull-requests: write
# Allow to write security events for github/codeql-action/upload-sarif to upload SARIF results
security-events: write
security-events: write
runs-on: ubuntu-24.04
env:
IMAGE_REPOSITORY_NAME: flutter-android
@@ -108,8 +108,8 @@ jobs:
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
with:
repo: cue-lang/cue
tag: v0.14.1
digest: c7d29f5988d088627cf53bd6a223807c466066cf432c7cf5c36429ffc9e734f6
tag: v0.15.0
digest: 06925fc1e5174591cef0b1e42ac32cff4271804742cd20893de1793b6d82d460
- name: Validate version.json and flutter_version.json with CUE
run: |
@@ -126,8 +126,8 @@ jobs:
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
with:
repo: cue-lang/cue
tag: v0.14.1
digest: c7d29f5988d088627cf53bd6a223807c466066cf432c7cf5c36429ffc9e734f6
tag: v0.15.0
digest: 06925fc1e5174591cef0b1e42ac32cff4271804742cd20893de1793b6d82d460
- name: Generate test files with CUE
run: |
@@ -161,7 +161,7 @@ jobs:
private-key: ${{ secrets.VERIFIED_COMMIT_KEY }}
repositories: ${{ github.event.repository.name }}
owner: ${{ github.repository_owner }}
- name: Update documentation
working-directory: docs/src
run: |
@@ -171,7 +171,7 @@ jobs:
- name: Commit and push documentation
uses: grafana/github-api-commit-action@b1d81091e8480dd11fcea8bc1f0ab977a0376ca5 # v1.0.0
with:
commit-message: "docs: generate documentation files"
commit-message: 'docs: generate documentation files'
success-if-no-changes: true
stage-all-files: true
token: ${{ steps.app-token.outputs.token }}
@@ -194,7 +194,7 @@ jobs:
id: version-json
run: |
{
echo "content<<EOF"
echo "content<<EOF"
cat ./config/version.json
echo "EOF"
} >> $GITHUB_OUTPUT
@@ -224,8 +224,8 @@ jobs:
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
with:
repo: cue-lang/cue
tag: v0.14.1
digest: c7d29f5988d088627cf53bd6a223807c466066cf432c7cf5c36429ffc9e734f6
tag: v0.15.0
digest: 06925fc1e5174591cef0b1e42ac32cff4271804742cd20893de1793b6d82d460
- name: Validate version.json with CUE
run: cue vet config/version.cue -d '#Version' config/version.json
+2 -3
View File
@@ -33,8 +33,8 @@ jobs:
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
with:
repo: cue-lang/cue
tag: v0.14.1
digest: c7d29f5988d088627cf53bd6a223807c466066cf432c7cf5c36429ffc9e734f6
tag: v0.15.0
digest: 06925fc1e5174591cef0b1e42ac32cff4271804742cd20893de1793b6d82d460
- name: Read environment variables from the version manifest
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
@@ -82,4 +82,3 @@ jobs:
with:
image: ${{ fromJSON(steps.metadata.outputs.json).tags[0] }}
config: test/android.yml
+31 -6
View File
@@ -35,8 +35,8 @@ jobs:
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
with:
repo: cue-lang/cue
tag: v0.14.1
digest: c7d29f5988d088627cf53bd6a223807c466066cf432c7cf5c36429ffc9e734f6
tag: v0.15.0
digest: 06925fc1e5174591cef0b1e42ac32cff4271804742cd20893de1793b6d82d460
- name: Validate version.json with CUE
if: ${{ steps.update_flutter_version.outputs.result == 'true' }}
@@ -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.15.0
digest: 06925fc1e5174591cef0b1e42ac32cff4271804742cd20893de1793b6d82d460
- 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
@@ -152,8 +171,8 @@ jobs:
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
with:
repo: cue-lang/cue
tag: v0.14.1
digest: c7d29f5988d088627cf53bd6a223807c466066cf432c7cf5c36429ffc9e734f6
tag: v0.15.0
digest: 06925fc1e5174591cef0b1e42ac32cff4271804742cd20893de1793b6d82d460
- name: Validate version.json with CUE
run: cue vet config/version.cue -d '#Version' config/version.json
@@ -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.2-slim@sha256:9812458f2932ede726468ba07bcb9e51bceb1f0c7f16ee30baa789ccee7cc202 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
+20
View File
@@ -1,3 +1,23 @@
## [3.38.3] - 2025-11-24
### ⚙️ Miscellaneous Tasks
- *(release)* Upgrade flutter to 3.38.3 (#401)
## [3.38.2] - 2025-11-19
### ⚙️ Miscellaneous Tasks
- *(release)* Upgrade flutter to 3.38.2 (#400)
## [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": "19074d12f7eaf6a8180cd4036a430c1d76de904e",
"version": "3.38.3"
}
}
+5 -5
View File
@@ -1,8 +1,8 @@
{
"flutter": {
"channel": "stable",
"commit": "adc901062556672b4138e18a4dc62a4be8f4b3c2",
"version": "3.35.7"
"commit": "19074d12f7eaf6a8180cd4036a430c1d76de904e",
"version": "3.38.3"
},
"android": {
"platforms": [
@@ -11,7 +11,7 @@
}
],
"gradle": {
"version": "8.12"
"version": "8.14"
},
"buildTools": {
"version": "35.0.0"
@@ -20,13 +20,13 @@
"version": "19.0"
},
"ndk": {
"version": "27.0.12077973"
"version": "28.2.13676358"
},
"cmake": {
"version": "3.22.1"
}
},
"fastlane": {
"version": "2.228.0"
"version": "2.229.0"
}
}
+7830 -7430
View File
File diff suppressed because it is too large Load Diff
+14 -14
View File
@@ -23,32 +23,32 @@ 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.3.
* 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.
* Cached Fastlane gem 2.229.0.
* Minimal image with predownloaded SDKs and tools ready to run `flutter` commands for the Android platform.
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.3](https://hub.docker.com/r/gmeligio/flutter-android) |
| GitHub Container Registry | [ghcr.io/gmeligio/flutter-android:3.38.3](https://github.com/gmeligio/flutter-docker-image/pkgs/container/flutter-android) |
| Quay | [quay.io/gmeligio/flutter-android:3.38.3](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.3 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.3
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.3
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.3
* Flutter version: 3.38.3
## 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.3
* `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.3 --build-arg fastlane_version=2.229.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';"]