Feat: 회원 정보 조회 controller 구현 #16
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: News Intelligent CI | |
| on: | |
| push: | |
| pull_request: | |
| branches: | |
| - develop | |
| jobs: | |
| build: | |
| # ubuntu 버전 지정 | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| # GitHub 레포지토리 checkout | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| # # JDK 17 설치 | |
| # - name: Set up JDK 17 | |
| # uses: actions/setup-java@v3 | |
| # with: | |
| # distribution: 'temurin' | |
| # java-version: 17 | |
| # | |
| # # Gradle 실행 권한 부여 | |
| # - name: Grant execute permission for Gradle | |
| # run: chmod +x gradlew | |
| # | |
| # # Gradle Build (without test) | |
| # - name: Build with Gradle | |
| # run: ./gradlew clean build -x test | |
| # DockerHub 로그인 | |
| - name: Login to DockerHub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{secrets.DOCKERHUB_USERNAME}} | |
| password: ${{secrets.DOCKERHUB_ACCESS_TOKEN}} | |
| # Docker 이미지 빌드 및 푸시 | |
| - name: Build and Push Docker image | |
| run: | | |
| docker build -t ${{secrets.DOCKERHUB_USERNAME}}/${{secrets.DOCKERHUB_REPOSITORY}}:latest . | |
| docker push ${{secrets.DOCKERHUB_USERNAME}}/${{secrets.DOCKERHUB_REPOSITORY}}:latest |