Compare commits

...

2 Commits

Author SHA1 Message Date
8e34bdd8d8 修改docker tags
Some checks failed
CI / lint (push) Failing after 11m36s
CI / typecheck (push) Failing after 15s
CI / build (ubuntu-latest) (push) Failing after 16s
2025-07-29 22:55:47 +08:00
747495836f docker build 2025-07-29 22:27:37 +08:00
2 changed files with 18 additions and 24 deletions

View File

@@ -78,4 +78,21 @@ jobs:
run: bash ./patch-ui-pro.zsh run: bash ./patch-ui-pro.zsh
- name: Build - name: Build
run: pnpm run build run: pnpm run build
# 1. 登录 registry
- name: Login to private registry
uses: docker/login-action@v3
with:
registry: reg.lijue.net:5888
username: ${{ secrets.REGISTRY_USER }} # 在仓库里事先存好
password: ${{ secrets.REGISTRY_PASSWORD }}
# 2. 构建并推送
- name: Build & push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: reg.lijue.net:5888/docs/docs:latest

View File

@@ -1,23 +0,0 @@
name: Publish Any Commit
on: [push, pull_request]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- run: pnpx pkg-pr-new publish