Refactor Dockerfile and CI configuration for Next.js application #21
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: Version Management (from chuseok22/version-management) | |
| on: | |
| push: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| actions: read | |
| jobs: | |
| chuseok22-version-bump: | |
| uses: chuseok22/version-management/.github/workflows/auto-version.yml@v1 | |
| with: | |
| project_type: "auto" # spring | next | plain | auto | |
| default_branch: "main" | |
| tag_prefix: "v" | |
| default_version: "0.0.0" | |
| next_constants_path: "src/constants/version.ts" # Next.js만 대상 | |
| sync_app_yaml: "false" # Spring application.yml version 치환 | |
| workdir: "" # 모노레포면 "backend"/"web" 등 하위 경로 | |
| dispatch_on_bump: "true" # 버전 증가시에만 후속 트리거 | |
| dispatch_event_type: "version-bumped" | |
| plain_version_file: "VERSION" # Plain 프로젝트일 때 버전 파일 경로 | |
| create_release: "true" # 버전 증가 시 릴리스 생성 | |
| release_latest: "true" # latest 마킹 | |
| release_prerelease: "false" # 프리릴리스(예: M1, RC)면 true |