deploy: (20260807) develop 브랜치 main 병합 및 운영 배포 #209
Workflow file for this run
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 | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - develop | |
| - main | |
| jobs: | |
| build: | |
| name: Build and Docker Image Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Java 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: "21" | |
| cache: gradle | |
| - name: Make Gradle Wrapper executable | |
| run: chmod +x ./gradlew | |
| - name: Test and build Spring Boot jar | |
| run: ./gradlew clean test bootJar --no-daemon | |
| - name: Build Docker image | |
| run: docker build -t slatto-api:ci . |