Compare commits

..

4 Commits

Author SHA1 Message Date
verified-commit[bot] 94ce0684d4 chore(release): prepare for 3.32.7 2025-07-17 20:05:04 +00:00
verified-commit[bot] 3b76d4c78c chore(release): update flutter dependencies in version.json for 3.32.7 (#364)
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-17 22:04:45 +02:00
renovate[bot] c5a453f021 chore(deps): update mcr.microsoft.com/windows/servercore:ltsc2025 docker digest to e4d4b91 (#363)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-14 08:55:52 +02:00
Eligio Mariño 2084aa62d7 ci: build image path to solve "skip output since it may contain secret" (#362) 2025-07-13 18:40:51 +02:00
6 changed files with 26 additions and 20 deletions
+3 -4
View File
@@ -17,9 +17,6 @@ jobs:
# Allow to write packages to push the container image to the Github Container Registry
packages: write
runs-on: ubuntu-24.04
outputs:
# 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
@@ -127,6 +124,8 @@ jobs:
security-events: write
runs-on: ubuntu-24.04
needs: release_android
env:
IMAGE_REPOSITORY_NAME: flutter-android
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -141,7 +140,7 @@ jobs:
uses: docker/scout-action@aceeb83b88f2ae54376891227858dda7af647183 # v1.18.1
with:
command: environment, cves
image: registry://${{ needs.release_android.outputs.docker_hub_image_path }}
image: registry://${{ github.repository_owner }}/${{ env.IMAGE_REPOSITORY_NAME }}:${{ env.FLUTTER_VERSION }}
environment: prod
only-fixed: true
organization: ${{ secrets.DOCKER_HUB_USERNAME }}
+7
View File
@@ -2,6 +2,13 @@
All notable changes to this project will be documented in this file.
## [3.32.7] - 2025-07-17
### ⚙️ Miscellaneous Tasks
- Build image path to solve "skip output since it may contain secret" (#362)
- *(release)* Update flutter dependencies in version.json for 3.32.7 (#364)
## [3.32.6] - 2025-07-13
### ⚙️ Miscellaneous Tasks
+2 -2
View File
@@ -1,7 +1,7 @@
{
"flutter": {
"channel": "stable",
"commit": "077b4a4ce10a07b82caa6897f0c626f9c0a3ac90",
"version": "3.32.6"
"commit": "d7b523b356d15fb81e7d340bbe52b47f93937323",
"version": "3.32.7"
}
}
+2 -2
View File
@@ -1,8 +1,8 @@
{
"flutter": {
"channel": "stable",
"commit": "077b4a4ce10a07b82caa6897f0c626f9c0a3ac90",
"version": "3.32.6"
"commit": "d7b523b356d15fb81e7d340bbe52b47f93937323",
"version": "3.32.7"
},
"android": {
"platforms": [
+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.6.
* Installed Flutter SDK 3.32.7.
* 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.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) |
| Docker Hub | [gmeligio/flutter-android:3.32.7](https://hub.docker.com/r/gmeligio/flutter-android) |
| GitHub Container Registry | [ghcr.io/gmeligio/flutter-android:3.32.7](https://github.com/gmeligio/flutter-docker-image/pkgs/container/flutter-android) |
| Quay | [quay.io/gmeligio/flutter-android:3.32.7](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.6 bash
docker run --rm -it ghcr.io/gmeligio/flutter-android:3.32.7 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.6
image: ghcr.io/gmeligio/flutter-android:3.32.7
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.6
image: ghcr.io/gmeligio/flutter-android:3.32.7
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.6
* Flutter version: 3.32.6
* Docker image: gmeligio/flutter-android:3.32.7
* Flutter version: 3.32.7
## Building Locally
The android.Dockerfile expects a few arguments:
* `flutter_version <string>`: The version of Flutter to use when building. Example: 3.32.6
* `flutter_version <string>`: The version of Flutter to use when building. Example: 3.32.7
* `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.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 .
docker build --target android --build-arg flutter_version=3.32.7 --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:4c8150b6fe78cac412f24690d250c97c29a8cf2b0f241be7e9330e7d93292305 as flutter
FROM mcr.microsoft.com/windows/servercore:ltsc2025@sha256:e4d4b91f739636a7288d0189be0c5d61dccfd719e3d42af3ae591f77e41e58d5 as flutter
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]