Skip to content

Commit

Permalink
feat : enable native build
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli authored Dec 7, 2023
1 parent 675abd5 commit 9555f86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/config-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
working-directory: "config-server"
strategy:
matrix:
java: ["21"]
java: ["17"]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
Expand Down Expand Up @@ -50,4 +50,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
DOCKER_PASSCODE: ${{secrets.DOCKER_PASSCODE}}
DOC_USERNAME: ${{secrets.DOCKER_USERNAME}}
run: ./mvnw spring-boot:build-image -Dspring-boot.build-image.publish=true -DCI_DOCKER_PASSWORD=${DOCKER_PASSCODE} -DCI_DOCKER_USERNAME=${DOC_USERNAME}
run: ./mvnw -Pnative spring-boot:build-image -Dspring-boot.build-image.publish=true -DCI_DOCKER_PASSWORD=${DOCKER_PASSCODE} -DCI_DOCKER_USERNAME=${DOC_USERNAME}
2 changes: 1 addition & 1 deletion config-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<description>Centralized Configuration Server</description>

<properties>
<java.version>21</java.version>
<java.version>17</java.version>
<spring-cloud.version>2023.0.0</spring-cloud.version>
<spotless.version>2.41.1</spotless.version>
<properties-maven-plugin.version>1.2.1</properties-maven-plugin.version>
Expand Down

0 comments on commit 9555f86

Please sign in to comment.