From a8177afb1f32f387d4177f9e7c639b4973fe5c9b Mon Sep 17 00:00:00 2001
From: Vichea <48352653+vicheanath@users.noreply.github.com>
Date: Wed, 7 Feb 2024 11:50:27 -0600
Subject: [PATCH] fix: build docker
---
.github/workflows/build-push-docker.yml | 2 +-
.github/workflows/test.yml | 2 +-
backend/pms/pom.xml | 12 ++----------
3 files changed, 4 insertions(+), 12 deletions(-)
diff --git a/.github/workflows/build-push-docker.yml b/.github/workflows/build-push-docker.yml
index 1580033..5de2968 100644
--- a/.github/workflows/build-push-docker.yml
+++ b/.github/workflows/build-push-docker.yml
@@ -25,7 +25,7 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
- java-version: '21'
+ java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index a589064..d463b0f 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -6,7 +6,7 @@
# separate terms of service, privacy policy, and support
# documentation.
-name: Build and Publish Docker Image
+name: Test and Build
on:
push:
diff --git a/backend/pms/pom.xml b/backend/pms/pom.xml
index 70fe6b3..f6bb7a0 100644
--- a/backend/pms/pom.xml
+++ b/backend/pms/pom.xml
@@ -11,10 +11,10 @@
com.mini
pms
0.0.1-SNAPSHOT
- pms
+ mini-pms
PMS project for Spring Boot
- 21
+ 17
@@ -87,14 +87,6 @@
-
- maven-compiler-plugin
- 3.8.1
-
-
- 21
-
-
org.springframework.boot
spring-boot-maven-plugin