Compare commits
3 Commits
df78b01c85
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f767101df4 | ||
|
|
13210e1dc1 | ||
|
|
e1a0ff589f |
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user