fix: 스태킹된 블록이 없는데도 블록 삭제 불가 #11
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
| # .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 }} |