Skip to content

Commit 2a21f24

Browse files
[CICD] 빌드된 jar파일 경로 설정 (#15)
* [FEAT] 도커에 jar 파일 복사 시, 상대 경로 설정 * [FEAT] jar 파일 이름 변경
1 parent 5173166 commit 2a21f24

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/develop_cd_workflow.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
uses: actions/setup-java@v4
1515
with:
1616
java-version: '17'
17-
distribution: 'openjdk'
17+
distribution: 'adopt'
1818

1919
- name: Grant execute permission for gradlew
2020
run: chmod +x gradlew
@@ -41,12 +41,11 @@ jobs:
4141
- name: docker build and push
4242
uses: docker/[email protected]
4343
with:
44+
context: .
4445
push: true
4546
cache-from: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/${{ secrets.DOCKER_HUB_REPOSITORY }}:latest
4647
cache-to: type=inline
4748
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/${{ secrets.DOCKER_HUB_REPOSITORY }}:latest
48-
build-args: |
49-
APP_ENV=${{ secrets.JASYPT_KEY }}
5049

5150
deploy:
5251
runs-on: brainpix_self-hosted_runner

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
}
66

77
group = 'com'
8-
version = '0.0.1-SNAPSHOT'
8+
version = '0'
99

1010
java {
1111
toolchain {

0 commit comments

Comments
 (0)