# Gitea Actions runner for building the Android app (.gitea/workflows/android.yml). # Runs on the Gitea server; see docs/ANDROID-CI.md for setup. # # It starts build containers through the host's Docker, so it has the same power as # root on this machine: only register it for the musicshare repository. services: runner: image: gitea/act_runner:0.6.1 restart: unless-stopped environment: GITEA_INSTANCE_URL: https://gitea.chrisedwards.tech # From the repo: Settings > Actions > Runners > Create new runner. Only needed the first time. GITEA_RUNNER_REGISTRATION_TOKEN: ${RUNNER_TOKEN:-} GITEA_RUNNER_NAME: musicshare-android CONFIG_FILE: /config.yaml volumes: - ./config.yaml:/config.yaml:ro - ./data:/data - /var/run/docker.sock:/var/run/docker.sock