Skip to content

[Feat/#272] 멤버 관련 API 구현 (#273) #66

[Feat/#272] 멤버 관련 API 구현 (#273)

[Feat/#272] 멤버 관련 API 구현 (#273) #66

Workflow file for this run

name: CI Process
on:
push:
branches: [ "main" ]
workflow_dispatch:
permissions:
contents: read
env:
RELEASE_VERSION: ${{ github.sha }}
EMAIL_PASSWORD: ${{ secrets.EMAIL_PASSWORD }}
jobs:
code-ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Jooq Code Generation
run: |
./gradlew --info jooqCodegenAll
- name: Test with Gradle
run: |
./gradlew --info test
- name: Build with Gradle
run: |
./gradlew --info api:build -x test
- name: Generate OpenAPI3
run: |
./gradlew --info api:openapi3 -PserverUrl=https://api.fewletter.site
- name: Generate Swagger
run: |
./gradlew --info api:generateStaticSwaggerUIApi
- name : Docker Login
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
- name: Build Docker Image
run: |
./gradlew --info api:buildDockerImage -PimageName=fewletter/api -PreleaseVersion=${{ env.RELEASE_VERSION }}