chore: change for fitting new server system
This commit is contained in:
@@ -8,7 +8,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: gitea-official-runner
|
runs-on: gitea-official-runner
|
||||||
container:
|
container:
|
||||||
image: harbor.merlin.xin/release/merlin/action_builder:v0.0.1
|
image: registry.merlin.xin/candlelight/action_builder:v0.0.1
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
REPOSITORY: ${{ github.repository }}
|
REPOSITORY: ${{ github.repository }}
|
||||||
run: |
|
run: |
|
||||||
ROOT_DIR=$(pwd)
|
ROOT_DIR=$(pwd)
|
||||||
IMAGE_NAME="${HARBOR_URL}/testing/$REPOSITORY:${TAG}"
|
IMAGE_NAME="${HARBOR_URL}/testing/candlelight/$REPOSITORY:${TAG}"
|
||||||
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}"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: gitea-official-runner
|
runs-on: gitea-official-runner
|
||||||
container:
|
container:
|
||||||
image: harbor.merlin.xin/release/merlin/action_builder:v0.0.1
|
image: registry.merlin.xin/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}/candlelight/$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/library/docker:24.0.6-dind
|
FROM registry.merlin.xin/library/docker:24.0.6-dind
|
||||||
|
|
||||||
# 安装 Node.js
|
# 安装 Node.js
|
||||||
RUN apk add --no-cache bash curl git nodejs npm
|
RUN apk add --no-cache bash curl git nodejs npm
|
||||||
|
|||||||
Reference in New Issue
Block a user