About the client
The client is a game development studio preparing to launch a casual action game for Android, built in Unity. The studio wanted to ship updates to players regularly, which meant every build had to be reproducible and every release had to reach the store without hand-run steps.
Reliable Unity builds without a manual release step
- Docker files. Manage the Docker and Docker Compose files that define the build environment.
- Azure DevOps pipeline. Set up an Azure DevOps multi-stage build pipeline around Unity images.
- Unity licensing. Make Unity licensing work inside Docker images.
- Android APK. Build the Android APK from those images.
- Store deployment. Deploy each build to the Android store continuously with Fastlane.
What FiftyFive built
FiftyFive put in place a containerised build and release pipeline for the studio's Android game. The work covered the Docker and Docker Compose environment definitions, an Azure DevOps multi-stage pipeline built on Unity images, licence activation for those images, APK builds inside the containers, and a Fastlane step that publishes new builds to the Android store.
How the solution works
Containerised Unity build environment
- The Unity build environment is defined in Docker and Docker Compose, so each build runs in the same configuration rather than depending on a hand-prepared machine.
- Licensing for the Unity Docker images is configured as part of the setup, which allows the editor to run headless inside the container.
Multi-stage pipeline in Azure DevOps
- An Azure DevOps multi-stage pipeline pulls the Unity images and builds the Android APK inside them, separating the build from the release stage.
Automated store release with Fastlane
- Fastlane takes the built APK and publishes it to the Android store, so updates reach players without a manual upload.
Technology stack
What the solution enabled
Business transformation
Azure DevOps multi-stage build of the Android APK
Technologies: Docker, Azure DevOps and Fastlane
Android store releases through Fastlane
Containerised builds
Build environment with licensing configured for Docker images.
APK builds
Azure DevOps multi-stage pipeline that builds the Android APK from Unity images.
Store publishing
Automated publishing of updates to the Android store through Fastlane.
Reproducible builds
Each build runs in the same configuration.
FiftyFive Technologies set up an automated build and release pipeline for a game development studio shipping a Unity action game on Android. The studio needed repeatable builds and regular store updates without manual packaging. FiftyFive containerised the Unity build environment with Docker and Docker Compose, configured licensing for the Unity Docker images, built the APK inside those images through an Azure DevOps multi-stage pipeline, and used Fastlane to publish updates to the Android store automatically.
Technical questions
How does the Unity build environment run in Docker?
The Unity build environment is defined in Docker and Docker Compose, so each build runs in the same configuration rather than depending on a hand-prepared machine. Licensing for the Unity Docker images is configured as part of the setup, which allows the editor to run headless inside the container.
How is the Android store release automated?
An Azure DevOps multi-stage pipeline pulls the Unity images and builds the Android APK inside them, separating the build from the release stage. Fastlane takes the built APK and publishes it to the Android store, so updates reach players without a manual upload.