Skip to content

ci: Build Docker image on GitHub runner instead of Fly builder#270

Merged
Artur- merged 1 commit into
mainfrom
build-on-gh
May 19, 2026
Merged

ci: Build Docker image on GitHub runner instead of Fly builder#270
Artur- merged 1 commit into
mainfrom
build-on-gh

Conversation

@Artur-
Copy link
Copy Markdown
Member

@Artur- Artur- commented May 18, 2026

Replaces flyctl's --remote-only build with docker/build-push-action on the GH Actions runner, pushing the image to registry.fly.io and then calling flyctl deploy --image. Avoids Fly's default builder, which has been hanging for an hour at a time before flyctl falls back to Depot.

Uses GHA cache (mode=max) per module so BuildKit cache mounts for /root/.m2, /root/.npm and /root/.vaadin persist across runs.

Replaces flyctl's --remote-only build with docker/build-push-action on
the GH Actions runner, pushing the image to registry.fly.io and then
calling flyctl deploy --image. Avoids Fly's default builder, which has
been hanging for an hour at a time before flyctl falls back to Depot.

Uses GHA cache (mode=max) per module so BuildKit cache mounts for
/root/.m2, /root/.npm and /root/.vaadin persist across runs.
@Artur- Artur- merged commit 10000a2 into main May 19, 2026
13 checks passed
@Artur- Artur- deleted the build-on-gh branch May 19, 2026 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant