Skip to content

Commit

Permalink
fix: 배포스크립트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
mikekks committed Aug 4, 2024
1 parent 19ce36f commit f4344d2
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci-cd-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
IMAGE_NAME: "kasukabe-server"
# TODO: 멀티모듈 적용시 동적 할당 필요
MODULE: "layer-api"
APPLICATION_SECRET_PROPERTIES: ${{ secrets.APPLICATION_SECRET_PROPERTIES }}

steps:
- name: Setup Java
Expand All @@ -60,18 +61,16 @@ jobs:
- name: Setup Gradle
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0

- name: Create application-secret.properties
run: |
echo "${APPLICATION_SECRET_PROPERTIES}" > ./${{ env.MODULE }}/src/main/resources/application-secret.properties
- name: Build ${{ env.MODULE }} module
run: ./gradlew :${{ env.MODULE }}:build

- name: Run tests:${{ env.MODULE }}
run: ./gradlew :${{ env.MODULE }}:test

# - name: docker arm64 build set up - qemu
# uses: docker/setup-qemu-action@v2
#
# - name: docker arm64 build set up - buildx
# uses: docker/setup-buildx-action@v2

- name: login github container registry
uses: docker/login-action@v2
with:
Expand Down

0 comments on commit f4344d2

Please sign in to comment.