-
-
Notifications
You must be signed in to change notification settings - Fork 217
26 lines (24 loc) · 1.19 KB
/
docker-image.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build the main Docker image (android-sdk)
run: docker build -t android-sdk ./android-sdk
- name: Display tool version information of the main Docker image (android-sdk)
run: cmd=$(cat ./android-sdk/version-inspector.sh) && docker run -i --rm android-sdk bash -c "$cmd"
- name: Build the sub Docker image (android-sdk-vnc)
run: docker build -t android-sdk-vnc ./android-sdk/vnc
- name: Display tool version information of the sub Docker image (android-sdk-vnc)
run: cmd=$(cat ./android-sdk/vnc/version-inspector.sh) && docker run -i --rm android-sdk-vnc bash -c "$cmd"
- name: Build the sub Docker image (android-sdk-firebase-test-lab)
run: docker build -t android-sdk-firebase-test-lab ./android-sdk/firebase-test-lab
- name: Display tool version information of the sub Docker image (android-sdk-firebase-test-lab)
run: cmd=$(cat ./android-sdk/firebase-test-lab/version-inspector.sh) && docker run -i --rm android-sdk-firebase-test-lab bash -c "$cmd"