- various dependency upgrades #1329
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: Java CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
password: ${{ secrets.DOCKER_HUB_PASSWORD }} | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
# - name: JVM Build | |
# run: mvn -B clean deploy -P docker-image --file pom.xml | |
# - name: Native Build | |
# run: mvn -B clean deploy -P docker-image-native --file pom.xml | |
- name: Native Image | |
uses: gradle/gradle-build-action@v2 | |
with: | |
gradle-version: 7.4 | |
arguments: dockerImageNative | |