From 6c6e88ba35f0b7a274ebe33103a132a7ff39dc25 Mon Sep 17 00:00:00 2001 From: sijinhui Date: Mon, 24 Jun 2024 18:22:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=95=9C=E5=83=8F=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dockerToHub.yml | 4 ++-- Dockerfile | 2 +- Dockerfile.linux-build | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dockerToHub.yml b/.github/workflows/dockerToHub.yml index 5decaf0fa..7a5527da7 100644 --- a/.github/workflows/dockerToHub.yml +++ b/.github/workflows/dockerToHub.yml @@ -24,7 +24,7 @@ jobs: uses: actions/checkout@v4 with: clean: true - github-server-url: 'https://gh.siji.ci' + github-server-url: 'https://gh.sivpn.cn' - name: build and deploy to Docker Hub run: | echo ${{ secrets.ALY_DOCKER_PASSWORD }} | docker login registry.cn-hangzhou.aliyuncs.com -u ${{ secrets.ALY_DOCKER_USERNAME }} --password-stdin @@ -42,7 +42,7 @@ jobs: uses: actions/checkout@v4 with: clean: true - github-server-url: 'https://gh.siji.ci' + github-server-url: 'https://gh.sivpn.cn' # deploy-nm: # name: 部署到内蒙服务器 # needs: download-repo diff --git a/Dockerfile b/Dockerfile index 9cb8d6903..6ca213922 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ #FROM registry.cn-hangzhou.aliyuncs.com/sijinhui/node:18-alpine AS base -FROM hub.siji.ci/library/node:22.1-alpine AS base +FROM hub.sivpn.cn/library/node:22.1-alpine AS base RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories RUN apk update && apk add --no-cache git tzdata RUN apk add --no-cache \ diff --git a/Dockerfile.linux-build b/Dockerfile.linux-build index c35822a35..6f5539aeb 100644 --- a/Dockerfile.linux-build +++ b/Dockerfile.linux-build @@ -1,5 +1,5 @@ #FROM registry.cn-hangzhou.aliyuncs.com/sijinhui/node:18-alpine AS base -FROM hub.siji.ci/library/node:20-alpine AS base +FROM hub.sivpn.cn/library/node:20-alpine AS base RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories RUN apk update && apk add --no-cache git tzdata # 设置时区环境变量