Skip to content

Commit

Permalink
chore: actions 적용 브랜치 설정 (#30)
Browse files Browse the repository at this point in the history
* chore: actions 적용 브랜치 설정

* chore: path 및 ref 태그 제거

* chore: working-directory 태그 추가

* chore: Dockerfile jar 경로 수정
  • Loading branch information
helenason authored Jul 23, 2024
1 parent ef0037b commit abae4bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backend-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Backend CI/CD Workflow
on:
pull_request:
branches: [ "develop-BE" ]
paths: [ "backend/**" ]

jobs:

Expand All @@ -27,6 +26,7 @@ jobs:

- name: Build with Gradle Wrapper
run: ./gradlew clean build
working-directory: ./backend

- name: Docker build and push
run: |
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM --platform=linux/arm64 amazoncorretto:17

COPY build/libs/chongdae-0.0.1-SNAPSHOT.jar app.jar
COPY backend/build/libs/chongdae-0.0.1-SNAPSHOT.jar app.jar

ENTRYPOINT ["java", "-jar", "/app.jar"]

0 comments on commit abae4bd

Please sign in to comment.