Skip to content

Commit

Permalink
Refact : CI/CD 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
Parkgeonmoo committed Dec 25, 2023
1 parent 0cd8c29 commit 78a2dff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
uses: actions/setup-java@v2
with:
java-version: 17
distribution: 'adopt' # or 'temurin' or 'zulu'


- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand Down
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
FROM openjdk:17-jdk-slim
CMD ["./mvnw", "clean", "package"]
ARG JAR_FILE_PATH=build/libs/*.jar
ENTRYPOINT ["find", ".", "-name", "*.jar"]
COPY ${JAR_FILE_PATH} app.jar
COPY build/libs/*.jar app.jar
ENTRYPOINT ["java", "-jar", "app.jar"]

0 comments on commit 78a2dff

Please sign in to comment.