Skip to content

Commit

Permalink
chore: Dockerfile 수정 및 배포 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
whereami2048 committed May 2, 2024
1 parent c33381a commit 7e970e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CD-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CD-dev

on:
push:
branches: [ "main" ]
branches: [ "feat/ci-cd" ]

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI-dev.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CI-dev

on:
push:
pull_request:
branches:
- develop

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM amazoncorretto:17-alpine-jdk

# JAR_FILE 변수에 값을 저장
ARG JAR_FILE=./build/libs/backend-0.0.1-SNAPSHOT.jar
ARG JAR_FILE=/Api-Module/build/libs/Api-Module-0.0.1.jar

# 변수에 저장된 것을 컨테이너 실행시 이름을 app.jar파일로 변경하여 컨테이너에 저장
COPY ${JAR_FILE} app.jar
Expand Down

0 comments on commit 7e970e7

Please sign in to comment.