update JDK8, JDK11, JDK17, JDK21 and alpine base image to eliminate s… #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
buildx: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Login to DockerHub | |
if: success() && github.event_name != 'pull_request' | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Run Buildx JDK 8 | |
run: | | |
(cd jdk-8 && make build github) | |
- name: Run Buildx JDK 11 | |
run: | | |
(cd jdk-11 && make build github) | |
- name: Run Buildx JDK 17 | |
run: | | |
(cd jdk-17 && make build github) | |
- name: Run Buildx JDK 20 | |
run: | | |
(cd jdk-20 && make build github) | |
- name: Run Buildx JDK 21 | |
run: | | |
(cd jdk-21 && make build github) |