Skip to main content

FiftyFive Tech

Email Us sales@fiftyfivetech.io
Get in Touch
A hand gripping a black video game controller against a dark textured wall

DevOps & platform engineering

Automated Unity Android releases with Docker and Azure DevOps

FiftyFive containerised Unity builds with Docker, built APKs in an Azure DevOps multi-stage pipeline and automated Android store releases with Fastlane.

Automate your game release pipeline
Industry
Gaming — mobile game studio
Region
Solution
Unity Android release automation
Story

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.

Challenge

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.
Solution

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

  1. 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.
  2. 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.
  3. 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

UnityGame engine; Unity Docker images used to build the APK
Docker and Docker ComposeReproducible build environment
Azure DevOpsMulti-stage build pipeline
FastlaneContinuous deployment to the Android store

What the solution enabled

Outcomes

Business transformation

1 pipeline

Azure DevOps multi-stage build of the Android APK

3

Technologies: Docker, Azure DevOps and Fastlane

Automated

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.

FAQ

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.

Talk to FiftyFive's DevOps engineers about automating your game build and release pipeline.

Book a call

Project snapshot

Industry
Gaming — mobile game studio
Services
DevOps, CI/CD, mobile release automation
Core technologies
Unity, Docker, Docker Compose, Azure DevOps, Fastlane