Daniel Bohry 1 year ago
parent
commit
04dbbcc860
1 changed files with 5 additions and 0 deletions
  1. 5 0
      .github/workflows/buildAndRelease.yml

+ 5 - 0
.github/workflows/buildAndRelease.yml

@@ -41,6 +41,11 @@ jobs:
           path: /tmp/.buildx-cache
           key: ${{ runner.os }}-buildx-${{ github.sha }}
           restore-keys: ${{ runner.os }}-buildx-
+      - name: Set up JDK
+        uses: actions/setup-java@v3
+        with:
+          java-version: '17'
+          distribution: 'temurin'
       - name: Build the Docker image
         run: ./mvnw spring-boot:build-image -DskipTests
       - name: Login to Docker Hub