Compare commits

..

10 Commits

Author SHA1 Message Date
verified-commit[bot] 5d87da6c3a chore(release): prepare for 3.32.6 2025-07-13 14:31:57 +00:00
verified-commit[bot] 6335d3f22a chore(release): update flutter dependencies in version.json for 3.32.6 (#361)
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Co-authored-by: verified-commit[bot] <180343340+verified-commit[bot]@users.noreply.github.com>
2025-07-13 16:31:46 +02:00
renovate[bot] 56134b64af chore(deps): update node.js to v22.17.0 (#358)
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-07-13 14:48:53 +02:00
renovate[bot] 67285c77fb chore(deps): update github-actions (#359)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-13 14:23:35 +02:00
renovate[bot] fd1168121a chore(deps): update debian:12.11-slim docker digest to 6ac2c08 (#360)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-07 21:12:53 +02:00
verified-commit[bot] f3c90f5a11 chore(release): prepare for 3.32.5 2025-06-26 04:12:47 +00:00
verified-commit[bot] cd61c75bf0 chore(release): update flutter dependencies in version.json for 3.32.5 (#357)
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Co-authored-by: verified-commit[bot] <180343340+verified-commit[bot]@users.noreply.github.com>
2025-06-26 06:12:30 +02:00
renovate[bot] c2ac9525bd chore(deps): update debian:12.11-slim docker digest to e5865e6 (#355)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-16 17:28:13 +02:00
renovate[bot] c2de027b49 chore(deps): update mcr.microsoft.com/windows/servercore:ltsc2025 docker digest to 4c8150b (#356)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-16 11:36:49 +02:00
Eligio Mariño e642c38317 ci: parse json before output (#354) 2025-06-14 17:58:29 +02:00
12 changed files with 54 additions and 37 deletions
+2 -2
View File
@@ -48,7 +48,7 @@ jobs:
type=raw,value=${{ env.FLUTTER_VERSION }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Login to Docker Hub
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
@@ -149,7 +149,7 @@ jobs:
with:
cache: npm
cache-dependency-path: docs/src/package-lock.json
node-version-file: docs/src/package.json
node-version: lts/*
- name: Update documentation
working-directory: docs/src
+1 -1
View File
@@ -57,7 +57,7 @@ jobs:
type=raw,value=${{ env.FLUTTER_VERSION }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Build image and push to local Docker daemon
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
+19 -12
View File
@@ -1,7 +1,7 @@
on:
push:
tags:
- '*'
- '*'
workflow_dispatch:
# Read-only permissions by default
@@ -18,7 +18,8 @@ jobs:
packages: write
runs-on: ubuntu-24.04
outputs:
metadata: ${{ steps.metadata.outputs.json }}
# Use the Docker Hub image which is the first tag in the metadata
docker_hub_image_path: ${{ fromJson(steps.metadata.outputs.json).tags[0] }}
env:
IMAGE_REPOSITORY_NAME: flutter-android
ANDROID_BUILD_TOOLS_VERSION: 30.0.3
@@ -50,7 +51,7 @@ jobs:
type=raw,value=${{ env.FLUTTER_VERSION }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Login to Docker Hub
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
@@ -71,7 +72,7 @@ jobs:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
- name: Build image and push it to registries
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
@@ -89,7 +90,7 @@ jobs:
android_platform_versions=${{ env.ANDROID_PLATFORM_VERSIONS }}
android_ndk_version=${{ env.ANDROID_NDK_VERSION }}
cmake_version=${{ env.CMAKE_VERSION }}
update_description:
runs-on: ubuntu-24.04
needs: release_android
@@ -119,7 +120,7 @@ jobs:
repository: ${{ env.IMAGE_REPOSITORY_PATH }}
short-description: ${{ github.event.repository.description }}
readme-filepath: readme.md
record_image:
permissions:
# Allow to write code scanning results to GitHub's code scanning dashboard
@@ -140,15 +141,14 @@ jobs:
uses: docker/scout-action@aceeb83b88f2ae54376891227858dda7af647183 # v1.18.1
with:
command: environment, cves
# Use the Docker Hub image which is the first tag in the metadata
image: registry://${{ fromJson(needs.release_android.outputs.metadata).tags[0] }}
image: registry://${{ needs.release_android.outputs.docker_hub_image_path }}
environment: prod
only-fixed: true
organization: ${{ secrets.DOCKER_HUB_USERNAME }}
sarif-file: sarif.json
- name: Upload the results to GitHub's code scanning dashboard
uses: github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
uses: github/codeql-action/upload-sarif@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
with:
sarif_file: sarif.json
@@ -173,7 +173,7 @@ jobs:
run: gh variable set FLUTTER_VERSION --body "${{ env.FLUTTER_VERSION }}"
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
create_github_release:
permissions:
# Allow to create releases and upload assets to them
@@ -189,7 +189,14 @@ jobs:
fetch-depth: 0
# Fetch all tags to use as input for the changelog generation
fetch-tags: true
- name: Setup git-cliff
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
with:
repo: orhun/git-cliff
tag: v2.8.0
digest: 17da092783079c63a0fb14c24fbfa0d3b589e225c6ef01c93111e39cecbc88e8
- name: Get the tag details
id: get-tag-details
run: |-
@@ -199,7 +206,7 @@ jobs:
echo "changelog_file=${changelog_file}" >>$GITHUB_OUTPUT
git-cliff -v --latest --strip all --no-exec --github-repo "${{ github.repository }}" --output "$changelog_file"
- name: Create Github release
env:
GH_TOKEN: ${{ github.token }}
+1 -1
View File
@@ -70,6 +70,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard (optional).
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
- name: Upload to code-scanning
uses: github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
uses: github/codeql-action/upload-sarif@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
with:
sarif_file: results.sarif
+1 -1
View File
@@ -196,7 +196,7 @@ jobs:
with:
cache: npm
cache-dependency-path: docs/src/package-lock.json
node-version-file: docs/src/package.json
node-version: lts/*
- name: Update documentation
working-directory: docs/src
+1 -1
View File
@@ -1,4 +1,4 @@
FROM debian:12.11-slim@sha256:90522eeb7e5923ee2b871c639059537b30521272f10ca86fdbbbb2b75a8c40cd AS flutter
FROM debian:12.11-slim@sha256:6ac2c08566499cc2415926653cf2ed7c3aedac445675a013cc09469c9e118fdd AS flutter
SHELL ["/bin/bash", "-euxo", "pipefail", "-c"]
+13
View File
@@ -2,6 +2,19 @@
All notable changes to this project will be documented in this file.
## [3.32.6] - 2025-07-13
### ⚙️ Miscellaneous Tasks
- *(release)* Update flutter dependencies in version.json for 3.32.6 (#361)
## [3.32.5] - 2025-06-26
### ⚙️ Miscellaneous Tasks
- Parse json before output (#354)
- *(release)* Update flutter dependencies in version.json for 3.32.5 (#357)
## [3.32.4] - 2025-06-14
### ⚙️ Miscellaneous Tasks
+2 -2
View File
@@ -1,7 +1,7 @@
{
"flutter": {
"channel": "stable",
"commit": "6fba2447e95c451518584c35e25f5433f14d888c",
"version": "3.32.4"
"commit": "077b4a4ce10a07b82caa6897f0c626f9c0a3ac90",
"version": "3.32.6"
}
}
+2 -2
View File
@@ -1,8 +1,8 @@
{
"flutter": {
"channel": "stable",
"commit": "6fba2447e95c451518584c35e25f5433f14d888c",
"version": "3.32.4"
"commit": "077b4a4ce10a07b82caa6897f0c626f9c0a3ac90",
"version": "3.32.6"
},
"android": {
"platforms": [
-3
View File
@@ -20,8 +20,5 @@
"react-dom": "^19.1.0",
"remark-gfm": "^4.0.1",
"remark-toc": "^9.0.0"
},
"volta": {
"node": "22.16.0"
}
}
+11 -11
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.32.4.
* Installed Flutter SDK 3.32.6.
* 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.
@@ -40,15 +40,15 @@ Predownloaded SDKs and tools in Android:
| Registry | flutter-android |
| ------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| Docker Hub | [gmeligio/flutter-android:3.32.4](https://hub.docker.com/r/gmeligio/flutter-android) |
| GitHub Container Registry | [ghcr.io/gmeligio/flutter-android:3.32.4](https://github.com/gmeligio/flutter-docker-image/pkgs/container/flutter-android) |
| Quay | [quay.io/gmeligio/flutter-android:3.32.4](https://quay.io/repository/gmeligio/flutter-android) |
| Docker Hub | [gmeligio/flutter-android:3.32.6](https://hub.docker.com/r/gmeligio/flutter-android) |
| GitHub Container Registry | [ghcr.io/gmeligio/flutter-android:3.32.6](https://github.com/gmeligio/flutter-docker-image/pkgs/container/flutter-android) |
| Quay | [quay.io/gmeligio/flutter-android:3.32.6](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.32.4 bash
docker run --rm -it ghcr.io/gmeligio/flutter-android:3.32.6 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.32.4
image: ghcr.io/gmeligio/flutter-android:3.32.6
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.32.4
image: ghcr.io/gmeligio/flutter-android:3.32.6
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.32.4
* Flutter version: 3.32.4
* Docker image: gmeligio/flutter-android:3.32.6
* Flutter version: 3.32.6
## Building Locally
The android.Dockerfile expects a few arguments:
* `flutter_version <string>`: The version of Flutter to use when building. Example: 3.32.4
* `flutter_version <string>`: The version of Flutter to use when building. Example: 3.32.6
* `android_build_tools_version <string>`: The version of the Android SDK Build Tools to install. Example: 34.0.0
* `android_platform_versions <list>`: The versions of the Android SDK Platforms to install, separated by spaces. Example: 35
```bash
# Android
docker build --target android --build-arg flutter_version=3.32.4 --build-arg fastlane_version=2.228.0 --build-arg android_build_tools_version=34.0.0 --build-arg android_platform_versions="35" -t android-test .
docker build --target android --build-arg flutter_version=3.32.6 --build-arg fastlane_version=2.228.0 --build-arg android_build_tools_version=34.0.0 --build-arg android_platform_versions="35" -t android-test .
```
## Roadmap
+1 -1
View File
@@ -1,6 +1,6 @@
# escape=`
FROM mcr.microsoft.com/windows/servercore:ltsc2025@sha256:c6b2b26058a096cb3f627ed03d0be66bea262c89222c988b516e63ae68f3ea72 as flutter
FROM mcr.microsoft.com/windows/servercore:ltsc2025@sha256:4c8150b6fe78cac412f24690d250c97c29a8cf2b0f241be7e9330e7d93292305 as flutter
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]