diff --git a/.github/workflows/maven-docker.yml b/.github/workflows/maven-docker.yml index 626bdfd..d6c0c6e 100644 --- a/.github/workflows/maven-docker.yml +++ b/.github/workflows/maven-docker.yml @@ -28,7 +28,12 @@ jobs: # 3. Compile and Package with Maven - name: Build with Maven - run: mvn clean package -DskipTests + run: | + mvn clean package -DskipTests -f discovery-server/pom.xml + mvn clean package -DskipTests -f api-gateway/pom.xml + mvn clean package -DskipTests -f business-service/pom.xml + mvn clean package -DskipTests -f review-service/pom.xml + mvn clean package -DskipTests -f notification-service/pom.xml # 4. Build Docker Images (CI Step) - name: Build Docker Images @@ -43,4 +48,4 @@ jobs: run: | sleep 30 # Give services time to start docker compose ps - docker logs notification-service \ No newline at end of file + docker logs notification-service