From dcb2d1847d0a471e220629cdee0c52ea63a887ed Mon Sep 17 00:00:00 2001 From: tolelom <98kimsungmin@naver.com> Date: Wed, 18 Mar 2026 17:25:27 +0900 Subject: [PATCH] =?UTF-8?q?ci:=20Gitea=20=ED=99=98=EA=B2=BD=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20=EC=A0=84=ED=99=98=20(git.tolelom.xyz=20=EB=A0=88?= =?UTF-8?q?=EC=A7=80=EC=8A=A4=ED=8A=B8=EB=A6=AC)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Docker registry: ghcr.io → git.tolelom.xyz - 로그인: GITEA_TOKEN 사용 Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/ci.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4110e5f..aa68a19 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,14 +32,11 @@ jobs: env: VITE_API_BASE_URL: https://a301.api.tolelom.xyz - # ── 2. Docker 빌드 & GHCR 푸시 (main 머지 시만) ─────────────────────────── + # ── 2. Docker 빌드 & Gitea 레지스트리 푸시 (main 머지 시만) ─────────────── docker: needs: test if: github.event_name == 'push' && github.ref == 'refs/heads/main' runs-on: ubuntu-latest - permissions: - contents: read - packages: write steps: - uses: actions/checkout@v4 @@ -47,22 +44,22 @@ jobs: - uses: docker/login-action@v3 with: - registry: ghcr.io + registry: git.tolelom.xyz username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + password: ${{ secrets.GITEA_TOKEN }} - uses: docker/build-push-action@v5 with: context: . push: true - tags: ghcr.io/${{ github.repository_owner }}/a301-web:latest + tags: git.tolelom.xyz/${{ github.repository_owner }}/a301-web:latest platforms: linux/arm64 build-args: | VITE_API_BASE_URL=https://a301.api.tolelom.xyz cache-from: type=gha cache-to: type=gha,mode=max - # ── 3. 서버 배포 (Docker 푸시 완료 후) ──────────────────────────────────── + # ── 3. 서버 배포 ────────────────────────────────────────────────────────── deploy: needs: docker runs-on: ubuntu-latest