From b25b7d080e9056453d6101547723bc4594abce10 Mon Sep 17 00:00:00 2001 From: Cloud User Date: Wed, 25 Feb 2026 15:39:23 +0900 Subject: [PATCH] Create Harbor mlops project and update image paths - Create mlops project in Harbor (private) - Image path: harbor.inje-private.com/mlops/mlops-serving - Update train.yaml and manifests/deployment.yaml Co-Authored-By: Claude Opus 4.6 --- .gitea/workflows/train.yaml | 6 +++--- config.yaml | 3 ++- manifests/deployment.yaml | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/train.yaml b/.gitea/workflows/train.yaml index 5b41d3a..b4bd94c 100644 --- a/.gitea/workflows/train.yaml +++ b/.gitea/workflows/train.yaml @@ -62,13 +62,13 @@ jobs: - name: Build Docker image run: | IMAGE_TAG="${{ github.sha }}" - docker build -t $REGISTRY_URL/mlops-serving:${IMAGE_TAG} . - docker push $REGISTRY_URL/mlops-serving:${IMAGE_TAG} + docker build -t $REGISTRY_URL/mlops/mlops-serving:${IMAGE_TAG} . + docker push $REGISTRY_URL/mlops/mlops-serving:${IMAGE_TAG} - name: Update manifest run: | IMAGE_TAG="${{ github.sha }}" - sed -i "s|image:.*mlops-serving.*|image: $REGISTRY_URL/mlops-serving:${IMAGE_TAG}|" manifests/deployment.yaml + sed -i "s|image:.*mlops-serving.*|image: $REGISTRY_URL/mlops/mlops-serving:${IMAGE_TAG}|" manifests/deployment.yaml git config user.name "gitea-runner" git config user.email "runner@mlops" git add manifests/ diff --git a/config.yaml b/config.yaml index 39fb485..07231e1 100644 --- a/config.yaml +++ b/config.yaml @@ -56,7 +56,8 @@ components: harbor: url: harbor.inje-private.com - installed: true # 외부에서 운영 중 + project: mlops # harbor.inje-private.com/mlops/ + installed: true location: external dvc: diff --git a/manifests/deployment.yaml b/manifests/deployment.yaml index 7bbd442..b944d5c 100644 --- a/manifests/deployment.yaml +++ b/manifests/deployment.yaml @@ -17,7 +17,7 @@ spec: spec: containers: - name: serving - image: ${REGISTRY_URL}/mlops-serving:latest # CI에서 자동 업데이트 + image: harbor.inje-private.com/mlops/mlops-serving:latest # CI에서 자동 업데이트 ports: - containerPort: 8080 resources: