Skip to content

chore: CI/CD 파이프라인 구성 - Dockerfile, GitHub Actions, ECR 연동 #9

Description

@LEESEOJUN-creator

개요

프론트엔드 CI/CD 파이프라인을 구성합니다.

작업 내용

  • next.config.ts standalone output 설정
  • Dockerfile Next.js 멀티스테이지 빌드
  • .github/workflows/ci.yml 백엔드와 동일한 구조
    • push/PR to main, dev 트리거
    • npm install + build
    • main push 시 AWS ECR 이미지 빌드 및 푸시

ECR 정보

Registry: 428185450315.dkr.ecr.ap-northeast-2.amazonaws.com
Repository: dgu-cap-frontend

필요한 GitHub Secrets

AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_ACCOUNT_ID, AWS_REGION, ECR_REPOSITORY

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions