From d641583e5704b5e3de92be91e0cb1c7470db21d7 Mon Sep 17 00:00:00 2001 From: Schaka <2223171+Schaka@users.noreply.github.com> Date: Fri, 18 Oct 2024 23:36:54 +0200 Subject: [PATCH] [Build] Switch to Gradle wrapper for builds --- .github/workflows/gradle.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 51c9e7e..e4a52ca 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -68,13 +68,13 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Setup Gradle for a non-wrapper project + - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 with: gradle-version: 8.10.2 - name: Build JVM OCI image - run: gradle jib -Djib.serialize=true # https://github.com/GoogleContainerTools/jib/issues/4301 + run: ./gradlew jib -Djib.serialize=true # https://github.com/GoogleContainerTools/jib/issues/4301 env: USERNAME: ${{ github.actor }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -82,7 +82,7 @@ jobs: DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} - name: Build Native OCI Image - run: gradle bootBuildImage --publishImage --imagePlatform linux/amd64 + run: ./gradlew bootBuildImage --publishImage --imagePlatform linux/amd64 env: USERNAME: ${{ github.actor }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -102,7 +102,7 @@ jobs: platforms: 'linux/amd64,linux/arm64' - name: Build Native ARM64 OCI Image - run: gradle bootBuildImage --publishImage --imagePlatform linux/arm64 + run: ./gradlew bootBuildImage --publishImage --imagePlatform linux/arm64 env: USERNAME: ${{ github.actor }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}