Skip to content

Commit

Permalink
Use JDK11 as a variant image in GitHub CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
thyrlian committed Apr 22, 2023
1 parent f6d5f1e commit 51f65ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
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 variant Docker image (android-sdk-jdk17)
run: docker build --build-arg JDK_VERSION=17 -t android-sdk-jdk17 ./android-sdk
- name: Display tool version information of the variant Docker image (android-sdk-jdk17)
run: cmd=$(cat ./android-sdk/version_inspector.sh) && docker run -i --rm android-sdk-jdk17 bash -c "$cmd"
- name: Build the variant Docker image (android-sdk-jdk11)
run: docker build --build-arg JDK_VERSION=11 -t android-sdk-jdk11 ./android-sdk
- name: Display tool version information of the variant Docker image (android-sdk-jdk11)
run: cmd=$(cat ./android-sdk/version_inspector.sh) && docker run -i --rm android-sdk-jdk11 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)
Expand Down

0 comments on commit 51f65ac

Please sign in to comment.