diff --git a/.github/workflows/ci-cd-develop.yml b/.github/workflows/ci-cd-develop.yml index e747e7d..f26157e 100644 --- a/.github/workflows/ci-cd-develop.yml +++ b/.github/workflows/ci-cd-develop.yml @@ -25,16 +25,18 @@ jobs: java-version: 17 distribution: 'zulu' - - name: copy application.yml files from submodule - run: | - mkdir -p src/main/resources - cp -r BE-hubo-gillajabi-resources/resources/application*.yml src/main/resources/ +# - name: copy application.yml files from submodule +# run: | +# mkdir -p src/main/resources +# cp -r BE-hubo-gillajabi-resources/resources/application*.yml src/main/resources/ - name: Grant execute permission for gradlew run: chmod +x ./gradlew - - name: bootJar with gradle - run: ./gradlew bootJar + - name: copy resources and bootJar with gradle + run: | + ./gradlew copyResources copyTestResources + ./gradlew bootJar - name: update release uses: release-drafter/release-drafter@v6 diff --git a/Dockerfile-dev b/Dockerfile-dev index 261b013..60029c3 100644 --- a/Dockerfile-dev +++ b/Dockerfile-dev @@ -2,6 +2,6 @@ FROM openjdk:17 COPY build/libs/gillajabi-0.0.1-SNAPSHOT.jar app.jar -EXPOSE 8090 +EXPOSE 8080 ENTRYPOINT ["java", "-Dspring.profiles.active=dev", "-jar", "app.jar"] \ No newline at end of file