All checks were successful
ci/woodpecker/push/default Pipeline was successful
Infra-owned rare-build images move off Woodpecker/manual to GHA (build from the github checkout — Dockerfiles verified identical on both remotes). chrome-service-novnc + android-emulator → public ghcr (dispatch+path). CLI → DockerHub (kept) + ghcr; Woodpecker build-cli.yml removed. infra-ci handled separately (bootstrap-critical). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
36 lines
1,011 B
YAML
36 lines
1,011 B
YAML
name: Build android-emulator
|
|
|
|
# ADR-0002: infra-owned image built off-infra on GHA → ghcr (public).
|
|
# Large image (Android SDK + emulator); on-demand workload (scaled 0). Rebuilds
|
|
# rare → dispatch + path trigger.
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
paths:
|
|
- 'stacks/android-emulator/docker/**'
|
|
workflow_dispatch: {}
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: docker/setup-buildx-action@v3
|
|
- uses: docker/login-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
- uses: docker/build-push-action@v6
|
|
with:
|
|
context: stacks/android-emulator/docker
|
|
platforms: linux/amd64
|
|
provenance: false
|
|
push: true
|
|
tags: |
|
|
ghcr.io/viktorbarzin/android-emulator:latest
|
|
ghcr.io/viktorbarzin/android-emulator:${{ github.sha }}
|