chore: change for fitting new server system
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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}"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user