Skip to content

Commit

Permalink
enable native build
Browse files Browse the repository at this point in the history
  • Loading branch information
bhuism committed Dec 2, 2024
1 parent d7c8671 commit 0b00b06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
<executions>
<execution>
<id>check</id>
<phase>test</phase>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
Expand All @@ -144,7 +144,7 @@
<executions>
<execution>
<id>validate</id>
<phase>test</phase>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
Expand Down

0 comments on commit 0b00b06

Please sign in to comment.