chore: update and move to the new server
All checks were successful
Docker Image CI / build (push) Successful in 1m11s
All checks were successful
Docker Image CI / build (push) Successful in 1m11s
This commit is contained in:
@@ -8,7 +8,7 @@ jobs:
|
||||
build:
|
||||
runs-on: gitea-runner-group-blog
|
||||
container:
|
||||
image: harbor.merlin.xin/release/merlin/action_builder:v0.0.1
|
||||
image: ${{ vars.HARBOR_URL }}/candlelight/action_builder:v0.0.1
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@@ -8,7 +8,7 @@ jobs:
|
||||
build:
|
||||
runs-on: gitea-runner-group-blog
|
||||
container:
|
||||
image: harbor.merlin.xin/release/merlin/action_builder:v0.0.1
|
||||
image: ${{ vars.HARBOR_URL }}/candlelight/action_builder:v0.0.1
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -24,7 +24,7 @@ jobs:
|
||||
REPOSITORY: ${{ github.repository }}
|
||||
run: |
|
||||
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}"
|
||||
docker build -t ${IMAGE_NAME} .
|
||||
echo "Pushing image: ${IMAGE_NAME}"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -12,6 +12,6 @@ COPY . .
|
||||
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
|
||||
Reference in New Issue
Block a user