Skip to content

fix: 프로바이더 선택 수정 #16

fix: 프로바이더 선택 수정

fix: 프로바이더 선택 수정 #16

Workflow file for this run

# .github/workflows/frontend-ci.yml
name: Frontend CI
on:
push:
branches:
- panel-UI
env:
NCP_REGISTRY: blockcloud.kr.ncr.ntruss.com
NCR_REPO: blockcloud
APP_NAME: frontend-app
IMAGE_TAG: ${{ github.sha }}
jobs:
build_and_push:
runs-on: ubuntu-latest
steps:
- name: 1. 소스 코드 Checkout
uses: actions/checkout@v4
- name: 2. Docker Buildx 설정
uses: docker/setup-buildx-action@v3
- name: 3. NCR (Container Registry) 로그인
uses: docker/login-action@v3
with:
registry: ${{ env.NCP_REGISTRY }}
username: ${{ secrets.NCP_ACCESS_KEY }}
password: ${{ secrets.NCP_SECRET_KEY }}
- name: 4. Docker 이미지 빌드 및 푸시
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
push: true
tags: ${{ env.NCP_REGISTRY }}/${{ env.NCR_REPO }}/${{ env.APP_NAME }}:${{ env.IMAGE_TAG }}