chore: change for fitting new server system

This commit is contained in:
2026-03-05 15:32:43 +08:00
parent 96f047d030
commit 9413442f5c
4 changed files with 93 additions and 91 deletions

View File

@@ -6,9 +6,9 @@ on:
jobs: jobs:
build: build:
runs-on: gitea-official-runner runs-on: gitea-runner-group-candlelight
container: container:
image: harbor.merlin.xin/release/merlin/action_builder:v0.0.1 image: ${{ vars.HARBOR_URL }}/candlelight/action_builder:v0.0.1
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4

View File

@@ -6,9 +6,9 @@ on:
jobs: jobs:
build: build:
runs-on: gitea-official-runner runs-on: gitea-runner-group-candlelight
container: container:
image: harbor.merlin.xin/release/merlin/action_builder:v0.0.1 image: ${{ vars.HARBOR_URL }}/candlelight/action_builder:v0.0.1
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -24,7 +24,7 @@ jobs:
REPOSITORY: ${{ github.repository }} REPOSITORY: ${{ github.repository }}
run: | run: |
ROOT_DIR=$(pwd) ROOT_DIR=$(pwd)
IMAGE_NAME="${HARBOR_URL}/release/$REPOSITORY:$GITHUB_REF_NAME" IMAGE_NAME="${HARBOR_URL}/$REPOSITORY:$GITHUB_REF_NAME"
echo "Building image: ${IMAGE_NAME}" echo "Building image: ${IMAGE_NAME}"
docker build -t ${IMAGE_NAME} . docker build -t ${IMAGE_NAME} .
echo "Pushing image: ${IMAGE_NAME}" echo "Pushing image: ${IMAGE_NAME}"

View File

@@ -1,4 +1,4 @@
FROM harbor.merlin.xin/mirrors/docker.io/alpine/k8s:1.30.4 FROM registry.merlin.xin/alpine/k8s:1.30.4
ENV TZ=Asia/Shanghai \ ENV TZ=Asia/Shanghai \
LANG=C.UTF-8 LANG=C.UTF-8

View File

@@ -1,3 +1,5 @@
# action_dployer # action_dployer for gtea_action
自己构建的action部署镜像依赖chart包来部署应用到rke2集群 用作gitea_action部署应用到k8s集群
包含helm和helmfile