修改镜像源

This commit is contained in:
sijinhui 2024-06-24 18:22:52 +08:00
parent 007c004a44
commit 6c6e88ba35
3 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
clean: true clean: true
github-server-url: 'https://gh.siji.ci' github-server-url: 'https://gh.sivpn.cn'
- name: build and deploy to Docker Hub - name: build and deploy to Docker Hub
run: | run: |
echo ${{ secrets.ALY_DOCKER_PASSWORD }} | docker login registry.cn-hangzhou.aliyuncs.com -u ${{ secrets.ALY_DOCKER_USERNAME }} --password-stdin 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 uses: actions/checkout@v4
with: with:
clean: true clean: true
github-server-url: 'https://gh.siji.ci' github-server-url: 'https://gh.sivpn.cn'
# deploy-nm: # deploy-nm:
# name: 部署到内蒙服务器 # name: 部署到内蒙服务器
# needs: download-repo # needs: download-repo

View File

@ -1,5 +1,5 @@
#FROM registry.cn-hangzhou.aliyuncs.com/sijinhui/node:18-alpine AS base #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 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 update && apk add --no-cache git tzdata
RUN apk add --no-cache \ RUN apk add --no-cache \

View File

@ -1,5 +1,5 @@
#FROM registry.cn-hangzhou.aliyuncs.com/sijinhui/node:18-alpine AS base #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 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 update && apk add --no-cache git tzdata
# 设置时区环境变量 # 设置时区环境变量