chore: update and move to the new server
All checks were successful
Docker Image CI / build (push) Successful in 1m11s

This commit is contained in:
2026-03-06 10:36:36 +08:00
parent 501e4e2819
commit 1e8e54ff54
3 changed files with 71 additions and 71 deletions

View File

@@ -8,7 +8,7 @@ jobs:
build: build:
runs-on: gitea-runner-group-blog runs-on: gitea-runner-group-blog
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

@@ -8,7 +8,7 @@ jobs:
build: build:
runs-on: gitea-runner-group-blog runs-on: gitea-runner-group-blog
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/library/node:20-bullseye AS build FROM registry.merlin.xin/library/node:20-bullseye AS build
WORKDIR /app WORKDIR /app
@@ -12,6 +12,6 @@ COPY . .
RUN npm run build RUN npm run build
FROM harbor.merlin.xin/mirrors/docker.io/library/nginxinc/nginx-unprivileged:stable FROM registry.merlin.xin/mirrors/nginxinc/nginx-unprivileged:stable
COPY --from=build /app/dist /app/dist COPY --from=build /app/dist /app/dist