Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Docker Publish

# rant 2026-08-22T07:14:15:改为仅 tag 触发(对齐 emrg 发版节奏——rant 说发版才发版)。
# main push / PR merge 只跑 ci.yml;显式打 tag vX.Y.Z 才构建发布 GHCR 镜像。
on:
push:
branches: [main]
tags: ['v*']
workflow_dispatch:

env:
IMAGE_NAME: ghcr.io/${{ github.repository }}
Expand Down Expand Up @@ -34,10 +36,9 @@ jobs:
with:
images: ${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=tag
type=sha,prefix=,format=short
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=latest,enable={{is_tag}}

- name: Build and push
uses: docker/build-push-action@v6
Expand Down
2 changes: 1 addition & 1 deletion README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ AITokenPool is an open-source **AI token sharing platform / multi-model gateway*

```bash
docker compose up -d --build
# or use the published image
# or use a published image (images are released on version tags; latest points to the newest release)
docker pull ghcr.io/argszero/aitokenpool:latest
docker run -p 8080:8080 -v "$PWD/atp-data:/data" \
-e ATP_MASTER_KEY=$(openssl rand -hex 32) \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ AITokenPool 是一个开源的 **AI Token 共享平台 / 多模型网关**:把

```bash
docker compose up -d --build
# 或直接使用已发布镜像
# 或直接使用已发布镜像(镜像随版本 tag 发布,latest 指向最新发版)
docker pull ghcr.io/argszero/aitokenpool:latest
docker run -p 8080:8080 -v "$PWD/atp-data:/data" \
-e ATP_MASTER_KEY=$(openssl rand -hex 32) \
Expand Down
Loading