Skip to content

Commit fd118fa

Browse files
committed
ci: add auto-release step, update RELEASE to Docker Hub only
1 parent 1d9f54f commit fd118fa

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: Build multi-platform Docker image
1111
runs-on: ubuntu-latest
1212
permissions:
13-
contents: write # read for checkout, write for creating releases
13+
contents: write
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4
@@ -43,7 +43,6 @@ jobs:
4343
massif01/chatraw:latest
4444
4545
- name: Create Release
46-
if: hashFiles(format('RELEASE_{0}.md', github.ref_name)) != ''
4746
uses: softprops/action-gh-release@v2
4847
with:
4948
tag_name: ${{ github.ref_name }}

RELEASE_v2.1.2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030

3131
## Docker
3232

33-
多平台镜像(linux/amd64, linux/arm64)将发布至
34-
- Docker Hub: `massif01/chatraw:v2.1.2`
33+
多平台镜像(linux/amd64, linux/arm64)发布至 Docker Hub
34+
- `massif01/chatraw:v2.1.2`
3535

3636
## 如何更新 / How to Update
3737

0 commit comments

Comments
 (0)