Skip to content

Commit a23b032

Browse files
committed
ci: align UI build check with platform-specific bundles
1 parent f82217f commit a23b032

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ jobs:
4545
working-directory: webui
4646
- run: npm run build
4747
working-directory: webui
48-
- run: git diff --exit-code -- ../internal/api/dashboard/static/web
49-
working-directory: webui
5048

5149
race:
5250
runs-on: ubuntu-latest

‎.github/workflows/docker-publish.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
type=ref,event=tag
3939
type=ref,event=branch
4040
type=ref,event=pr
41-
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v') }}
41+
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
4242
type=raw,value=edge,enable=${{ github.ref == 'refs/heads/main' }}
4343
4444
- name: Log in to GHCR

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ docker compose logs -f auto-router
2525

2626
镜像为 `ghcr.io/nextroad-dev/auto-router`,支持 `linux/amd64` 与 `linux/arm64`。`.env` 中的 `AUTO_ROUTER_VERSION` 可设为 `latest` 或具体版本(例如 `1.2.3`)。首次发布后,仓库维护者需在 GitHub Packages 将该镜像包可见性设为 **Public**,用户才能免登录拉取。
2727

28-
GitHub Actions 会在 PR 上构建验证、在 `main` 发布 `edge`,并在推送 `v*` 标签时发布版本标签和 `latest`:
28+
GitHub Actions 会在 PR 上构建验证、在 `main` 发布 `edge` 和 `latest`,并在推送 `v*` 标签时发布版本标签和 `latest`:
2929

3030
```sh
3131
git tag v1.2.3

0 commit comments

Comments
 (0)