Fix deploy.yml #427

Closed
opened 2026-06-04 19:47:02 +00:00 by guettli · 1 comment
guettli commented 2026-06-04 19:47:02 +00:00 (Migrated from codeberg.org)

Fix deploy.yml

Look at last runs.

All failed

Fix.

Fix deploy.yml Look at last runs. All failed Fix.
guettlibot commented 2026-06-04 20:00:04 +00:00 (Migrated from codeberg.org)

The PR is open at https://codeberg.org/guettli/sharedinbox/pulls/428.


What I did:

The deploy workflow was failing on every run with:

! ghcr.io/cirruslabs/flutter:3.44.1: not found
Error: failed to resolve image "ghcr.io/cirruslabs/flutter:3.44.1"

Renovate had bumped Flutter to 3.44.1 (#411), but cirruslabs has not published a 3.44.1 Docker image — 3.44.0 is the latest available. Dagger can't resolve the base image, so all three deploy jobs (deploy-playstore, deploy-apk, build-linux) fail immediately.

Three-part fix:

  1. .fvmrc — rolled back to 3.44.0, which resolves correctly on GHCR
  2. scripts/check_ci_images.sh — extended to also validate the Flutter image derived from .fvmrc (previously it only grepped for literal From("...") strings in ci/main.go, missing this dynamically-constructed image)
  3. .pre-commit-config.yaml — the ci-image-exists hook now triggers on .fvmrc changes as well as ci/main.go, so a future Renovate bump to a non-existent image will be caught at pre-commit time
The PR is open at **https://codeberg.org/guettli/sharedinbox/pulls/428**. --- **What I did:** The deploy workflow was failing on every run with: ``` ! ghcr.io/cirruslabs/flutter:3.44.1: not found Error: failed to resolve image "ghcr.io/cirruslabs/flutter:3.44.1" ``` Renovate had bumped Flutter to `3.44.1` (#411), but cirruslabs has not published a `3.44.1` Docker image — `3.44.0` is the latest available. Dagger can't resolve the base image, so all three deploy jobs (`deploy-playstore`, `deploy-apk`, `build-linux`) fail immediately. **Three-part fix:** 1. **`.fvmrc`** — rolled back to `3.44.0`, which resolves correctly on GHCR 2. **`scripts/check_ci_images.sh`** — extended to also validate the Flutter image derived from `.fvmrc` (previously it only grepped for literal `From("...")` strings in `ci/main.go`, missing this dynamically-constructed image) 3. **`.pre-commit-config.yaml`** — the `ci-image-exists` hook now triggers on `.fvmrc` changes as well as `ci/main.go`, so a future Renovate bump to a non-existent image will be caught at pre-commit time
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: guettli/sharedinbox#427