diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ddaf9108c58..b5a0784bb06 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,14 +35,16 @@ jobs: java-version: ${{ matrix.jdk-version }} distribution: "temurin" - - name: Set up Gradle - uses: gradle/actions/setup-gradle@0bdd871935719febd78681f197cd39af5b6e16a6 # v4.2.2 - with: - gradle-version: 8.7 - - - name: Build with Gradle - run: ./gradlew build --no-build-cache - + - name: Build with Gradle and no spring security + run: ./gradlew clean build + env: + DOCKER_ENABLE_SECURITY: false + + - name: Build with Gradle and with spring security + run: ./gradlew clean build + env: + DOCKER_ENABLE_SECURITY: true + docker-compose-tests: # if: github.event_name == 'push' && github.ref == 'refs/heads/main' || # (github.event_name == 'pull_request' &&