Skip to content

Commit a47a1f5

Browse files
committed
fix(workflow): 简化 Docker 镜像标签配置,移除多余的标签类型
1 parent bdf8bb2 commit a47a1f5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ jobs:
3535
with:
3636
images: ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}
3737
tags: |
38-
type=ref,event=branch
39-
type=semver,pattern={{version}}
40-
type=semver,pattern={{major}}.{{minor}}
41-
type=raw,value=latest,enable={{is_default_branch}}
38+
type=raw,value=latest
4239
4340
- name: Build and push
4441
uses: docker/build-push-action@v5

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)
44
![Python: 3.9-3.12](https://img.shields.io/badge/python-3.9--3.12-green.svg)
55
![FastAPI](https://img.shields.io/badge/framework-FastAPI-009688.svg)
6+
[![Build and Push Docker Image](https://github.com/Inblac/z.ai2api_python/actions/workflows/docker.yml/badge.svg)](https://github.com/Inblac/z.ai2api_python/actions/workflows/docker.yml)
67

78
基于 FastAPI 的高性能 OpenAI API 兼容代理服务,采用多提供商架构设计,支持 GLM-4.5 系列、K2Think、LongCat 等多种 AI 模型的完整功能。
89

0 commit comments

Comments
 (0)