Skip to content

ci: Android E2E via GHCR image#403

Merged
Dani-Koza-AF merged 9 commits into
developmentfrom
plugins-effort-reduction-workflow1
May 19, 2026
Merged

ci: Android E2E via GHCR image#403
Dani-Koza-AF merged 9 commits into
developmentfrom
plugins-effort-reduction-workflow1

Conversation

@Kobikg78
Copy link
Copy Markdown
Collaborator

Summary

  • Push Unity Android Docker image to GHCR (one-time) to avoid 20GB cold pull from Docker Hub on every run
  • Rewrite rc-e2e-android.yml to use GHCR image via game-ci/unity-builder@v4 customImage
  • Saves ~70 min per Android E2E run

Test plan

  • GHCR push workflow ran successfully
  • Android E2E passed on plugins-effort-reduction-workflow1

🤖 Generated with Claude Code

Kobikg78 and others added 9 commits May 19, 2026 13:17
Avoids pulling the 20GB unityci/editor Docker image on every cold runner.
Instead downloads the Unity Linux editor once (~4.4GB), caches it at
/opt/unity with actions/cache, and builds directly — same pattern as the
iOS workflow. Uses the Android SDK already pre-installed on ubuntu-latest.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Strip-components assumption was wrong — detect the actual path with find
and fail fast with a directory listing if the binary isn't found.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
On Linux Unity installs as unity-editor, not Unity (macOS name).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pulls unityci/editor from Docker Hub and pushes to ghcr.io to avoid
the 20GB cold-runner pull on every Android E2E run.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Swap e2e-android-only.yml with the GHCR mirror workflow to push
unityci/editor to ghcr.io. Will be reverted after the image is pushed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Docker requires lowercase repository names; github.repository_owner
returns 'AppsFlyerSDK' which breaks the tag step.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The docker/login-action was timing out connecting to ghcr.io.
Switching to direct docker login command.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Restore e2e-android-only.yml to its original delegate form
- Rewrite rc-e2e-android.yml to pull from GHCR instead of Docker Hub
  using game-ci/unity-builder@v4 customImage — saves ~70 min per run

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Dani-Koza-AF Dani-Koza-AF merged commit 026f186 into development May 19, 2026
1 check passed
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.

2 participants