CI/CD - 프로젝트에 적용하기 - github Actions&NCP&GHCR 사용
·
✍️2023/Cloud
프론트 CI/CD Dockerfile - front FROM node:18.16-alpine WORKDIR /app/frontend COPY package*.json ./ RUN yarn install COPY . . EXPOSE 3000 CMD ["npm", "start"]CICD -front name: Build and Deploy Docker Image on: push: branches: - main - develop jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [18] name: Node ${{ matrix.node-version }} sample steps: - name: Checkout code uses: action..