Skip to content

Commit 146732b

Browse files
helenasonChooSeoyeon
authored andcommitted
chore: actions 적용 브랜치 설정 (#30)
* chore: actions 적용 브랜치 설정 * chore: path 및 ref 태그 제거 * chore: working-directory 태그 추가 * chore: Dockerfile jar 경로 수정
1 parent ef7fc0c commit 146732b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/backend-ci-cd.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Backend CI/CD Workflow
33
on:
44
pull_request:
55
branches: [ "develop-BE" ]
6-
paths: [ "backend/**" ]
76

87
jobs:
98

@@ -27,6 +26,7 @@ jobs:
2726

2827
- name: Build with Gradle Wrapper
2928
run: ./gradlew clean build
29+
working-directory: ./backend
3030

3131
- name: Docker build and push
3232
run: |

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM --platform=linux/arm64 amazoncorretto:17
22

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

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

0 commit comments

Comments
 (0)