@lobehub/chat 0.86.0-beta.2 → 0.86.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,9 @@ jobs:
9
9
  release:
10
10
  name: Release
11
11
  runs-on: ubuntu-latest
12
+ outputs:
13
+ # 将 semantic 输出的值作为下一环节的输入
14
+ is_new_version: ${{ steps.semantic.outputs.new_release_published }} # ! MUST BE STRING
12
15
  steps:
13
16
  - uses: actions/checkout@v4
14
17
 
@@ -25,9 +28,45 @@ jobs:
25
28
  run: bun run test
26
29
 
27
30
  - name: release
31
+ id: semantic
28
32
  run: bun run release
29
33
  env:
30
34
  GH_TOKEN: ${{ secrets.GH_TOKEN }}
31
35
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
32
- DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
33
- DOCKER_REGISTRY_USER: ${{ secrets.DOCKER_REGISTRY_USER }}
36
+
37
+ docker:
38
+ needs: [release]
39
+ name: Build Docker Image
40
+ runs-on: ubuntu-latest
41
+ if: needs.release.outputs.is_new_version == 'true'
42
+ steps:
43
+ - uses: actions/checkout@v2
44
+ - name: Set up QEMU
45
+ uses: docker/setup-qemu-action@v1
46
+ - name: Set up Docker Buildx
47
+ id: buildx
48
+ uses: docker/setup-buildx-action@v1
49
+ - name: Login to Docker Hub
50
+ uses: docker/login-action@v1
51
+ with:
52
+ username: ${{ secrets.DOCKER_REGISTRY_USER }}
53
+ password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
54
+
55
+ - name: Docker meta
56
+ id: meta
57
+ uses: docker/metadata-action@v3
58
+ with:
59
+ images: lobe-chat
60
+ tags: |
61
+ type=ref,event=branch
62
+ type=semver,pattern={{version}}
63
+ type=semver,pattern={{major}}.{{minor}}
64
+ type=semver,pattern={{major}}
65
+ type=sha
66
+ - name: Build and push
67
+ uses: docker/build-push-action@v2
68
+ with:
69
+ context: .
70
+ platforms: linux/amd64,linux/arm64
71
+ push: true
72
+ tags: ${{ steps.meta.outputs.tags }}
package/.releaserc.js CHANGED
@@ -4,11 +4,11 @@ module.exports = {
4
4
  ...release,
5
5
  plugins: [
6
6
  ...release.plugins,
7
- [
8
- '@codedependant/semantic-release-docker',
9
- {
10
- dockerImage: 'lobe-chat',
11
- },
12
- ],
7
+ // [
8
+ // '@codedependant/semantic-release-docker',
9
+ // {
10
+ // dockerImage: 'lobe-chat',
11
+ // },
12
+ // ],
13
13
  ],
14
14
  };
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ## [Version 0.86.0-beta.3](https://github.com/lobehub/lobe-chat/compare/v0.86.0-beta.2...v0.86.0-beta.3)
6
+
7
+ <sup>Released on **2023-10-10**</sup>
8
+
9
+ #### ✨ Features
10
+
11
+ - **misc**: Try with new docker ci.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's improved
19
+
20
+ - **misc**: Try with new docker ci ([728172e](https://github.com/lobehub/lobe-chat/commit/728172e))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
5
30
  ## [Version 0.86.0-beta.2](https://github.com/lobehub/lobe-chat/compare/v0.86.0-beta.1...v0.86.0-beta.2)
6
31
 
7
32
  <sup>Released on **2023-10-10**</sup>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "0.86.0-beta.2",
3
+ "version": "0.86.0-beta.3",
4
4
  "description": "An open-source, extensible (Function Calling), high-performance chatbot framework. It supports one-click free deployment of your private ChatGPT/LLM web application",
5
5
  "keywords": [
6
6
  "chatbot",