hotfix: 로그인 리다이렉트 주소 DNS 적용 #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI pipeline | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| environment: production | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: jdk 설정 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| cache: 'gradle' | |
| - name: Gradle Wrapper 권한 부여 | |
| run: chmod +x gradlew | |
| - name: gradle 빌드 | |
| run: ./gradlew clean build | |
| - name: Kakao Cloud Container Registry 로그인 | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: highfive.kr-central-2.kcr.dev | |
| username: ${{ secrets.KCR_USERNAME }} | |
| password: ${{ secrets.KCR_PASSWORD }} | |
| - name: 이미지 빌드 및 푸시 | |
| uses: docker/build-push-action@v5 | |
| with: | |
| context: . | |
| file: ./Dockerfile | |
| tags: highfive.kr-central-2.kcr.dev/trendist-dev/user-service:latest | |
| push: true |