Compare commits

...

3 Commits

Author SHA1 Message Date
Neon Vortex
f767101df4 Add -read-only flag to prevent AVD lock conflicts
All checks were successful
Build Android Emulator Images / build (android-30) (push) Successful in 6s
2025-11-26 13:27:01 -05:00
Neon Vortex
13210e1dc1 Fix workflow: use DOCKER_HOST env and plain docker commands
All checks were successful
Build Android Emulator Images / build (android-30) (push) Successful in 18m27s
2025-11-26 12:35:48 -05:00
Neon Vortex
e1a0ff589f Trigger rebuild with DOCKER_HOST fix
Some checks failed
Build Android Emulator Images / build (android-30) (push) Failing after 59s
2025-11-26 12:32:49 -05:00
2 changed files with 15 additions and 8 deletions

View File

@@ -13,6 +13,7 @@ on:
env: env:
REGISTRY: images.caffeinetux.com REGISTRY: images.caffeinetux.com
PROJECT: library PROJECT: library
DOCKER_HOST: tcp://localhost:2375
jobs: jobs:
build: build:
@@ -26,15 +27,21 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up Docker Buildx - name: Wait for Docker
uses: docker/setup-buildx-action@v3 run: |
for i in $(seq 1 30); do
if docker info >/dev/null 2>&1; then
echo "Docker is ready"
break
fi
echo "Waiting for Docker... ($i/30)"
sleep 2
done
docker info
- name: Login to Harbor - name: Login to Harbor
uses: docker/login-action@v3 run: |
with: echo "${{ secrets.HARBOR_PASSWORD }}" | docker login ${{ env.REGISTRY }} -u "${{ secrets.HARBOR_USERNAME }}" --password-stdin
registry: ${{ env.REGISTRY }}
username: ${{ secrets.HARBOR_USERNAME }}
password: ${{ secrets.HARBOR_PASSWORD }}
- name: Generate build files - name: Generate build files
run: make generate run: make generate

View File

@@ -14,7 +14,7 @@ if [ -z "$adb_server_port" ]; then
adb_server_port="5037" adb_server_port="5037"
fi fi
if [ -z "$emulator_opts" ]; then if [ -z "$emulator_opts" ]; then
emulator_opts="-screen multi-touch -no-boot-anim -noaudio -no-window -gpu swiftshader_indirect -camera-back none -camera-front none -skip-adb-auth -no-snapshot-save" emulator_opts="-screen multi-touch -no-boot-anim -noaudio -no-window -gpu swiftshader_indirect -camera-back none -camera-front none -skip-adb-auth -no-snapshot-save -read-only"
fi fi
# Detect ip and forward ADB ports outside to outside interface # Detect ip and forward ADB ports outside to outside interface