Skip to content

Commit

Permalink
Updates to move to SpringBoot 3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
arcshiftsolutions committed Jan 27, 2023
1 parent bcb57a1 commit 63f78d4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-api.build.and.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-java@v1
with:
java-version: 19
java-version: 18
- uses: actions/cache@v1
with:
path: ~/.m2/repository
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM artifacts.developer.gov.bc.ca/docker-remote/maven:3-jdk-19 as build
FROM artifacts.developer.gov.bc.ca/docker-remote/maven:3.8.7-openjdk-18 as build
WORKDIR /workspace/app

COPY api/pom.xml .
COPY api/src src
RUN mvn clean package -DskipTests
RUN mkdir -p target/dependency && (cd target/dependency; jar -xf ../*.jar)

FROM artifacts.developer.gov.bc.ca/docker-remote/openjdk:19-jdk
FROM artifacts.developer.gov.bc.ca/docker-remote/openjdk:18.0.2.1-jdk-oracle
RUN useradd -ms /bin/bash spring
RUN mkdir -p /logs
RUN chown -R spring:spring /logs
Expand Down
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
,src/main/java/ca/bc/gov/educ/api/institute/messaging/**,
src/main/java/ca/bc/gov/educ/api/institute/helpers/**,
</sonar.exclusions>
<java.version>19</java.version>
<java.version>18</java.version>

<maven.compiler.version>3.10.1</maven.compiler.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
Expand Down

0 comments on commit 63f78d4

Please sign in to comment.