From 0b00b06b9fef13e8dbcf3feedd1c2a1e163db851 Mon Sep 17 00:00:00 2001 From: Bas Huisman Date: Mon, 2 Dec 2024 22:44:15 +0100 Subject: [PATCH] enable native build --- .github/workflows/maven-publish.yml | 5 ++--- pom.xml | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index a2c2779..e2ec317 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -90,13 +90,12 @@ jobs: run: | pack build ghcr.io/ictu/pseudoniemenservice-${{ matrix.platform }} \ --builder docker.io/paketobuildpacks/builder-jammy-buildpackless-tiny \ - --buildpack gcr.io/paketo-buildpacks/java \ + --buildpack gcr.io/paketo-buildpacks/java-native-image \ --path . \ --platform linux/${{ matrix.platform }} \ --report-output-dir ./report.toml \ --publish \ - --env BP_NATIVE_IMAGE=true \ - --env BP_MAVEN_ACTIVE_PROFILES=native + --env BP_NATIVE_IMAGE=true # # - name: Set up JDK # uses: actions/setup-java@v4 diff --git a/pom.xml b/pom.xml index 0573e7d..5282c69 100644 --- a/pom.xml +++ b/pom.xml @@ -123,7 +123,7 @@ check - test + verify check @@ -144,7 +144,7 @@ validate - test + verify check